Title: "Response as sensor"
Description: "Create an entity from an action call response data."
Version: 1.2.0
Date created: 2024-09-21
Last update: 2026-10-29
Join the Discussion on Development: https://discord.gg/hP5n4GaPg3
- Name: Name of the new entity.
- Action: Which service to call.
- Value template: Use a template to construct the final state of the sensor.
- Icon: Icon to use in frontend.
- Device class: Device class (select from list).
- State class: State class (select from list).
- Unit of measurement: UoM to use in frontend (select from list limited by the chosen device class and state class, or write your own when neither is set).
- Entity category: Set to diagnostic to show the sensor under "Diagnostic" on the device page instead of "Sensors".
- Device: Device to link the sensor to, so it shows on that device's page.
- Frequency: Frequency of the action call, don't set too low.
Install from the Marketplace in Home Assistant:
- Below config-folder create a new folder called
custom_componentsif not already exist. - Below new
custom_componentsfolder create a new folder calledresponse_as_entity - Upload the files/folders in
custom_components/response_as_sensordirectory to the newly created folder. - Restart before proceeding
After installation go to "Devices & services" and then "helper" page in HA, press "+ Create helper" and find "Response as sensor" Follow on-screen information for the required information No restart needed
If not for code, maybe add a language file for your language.
Use string.json provided by the integration as a template for adding another language.