About
Attribute as Sensor is an integration that turns an attribute of another entity into its own sensor. It is added as a helper in the UI and works locally. The source entity and the name are chosen when the helper is created, and the attribute can be picked from that entity. A value template can process the attribute, for example to divide a number by 100, using the attribute result as a variable. Icon, device class, state class and unit of measurement can be set, with a preset unit or a custom one. Most of these settings can be changed later through the options.
Automatic summary of the README and code of gjohansson-ST/attribute_as_sensor. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Add Attribute as Sensor
- Input entity
- Name
Attr
- AttributeSelect the attribute that you would like to use as a sensor.
- Icon
- Device Class
- State Class
- Unit of MeasurementSelect a pre-defined unit of measurement or customize your own.
- Value templateDefine a template to extract the value from the attribute.
After setup
- Icon
- Device Class
- State Class
- Unit of MeasurementSelect a pre-defined unit of measurement or customize your own.
- Value templateDefine a template to extract the value from the attribute.
Texts from the code of gjohansson-ST/attribute_as_sensor.
From the README
Description: "Create an entity from another entities attribute."
Shows in Vulpo
Chart card, Apple Watch.Information
- Installs
- 578 sharing analytics
- GitHub stars
- 86
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- 2.1.0,
- Category
- Helpers, Store a value
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
attribute_as_sensor- Issues
- Report an issue












