You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unit of Measurement of Output Sensor is wrong #124
Thanks for noticing. The reason for having a unit is that without a unit long-term statistics will not be recorded for the entity. During design I have seen this as a valuable addition to the sensor, that's why it has received the % as a unit.
I confirm this requirement. The state_class that should be set to “measurement”. You don’t need to set the unit_of_measurement if the state_class is set to record statistics. Another option is to set the unit to ' ' (space).
Activity
bvweerd commentedon Jan 7, 2026
Thanks for noticing. The reason for having a unit is that without a unit long-term statistics will not be recorded for the entity. During design I have seen this as a valuable addition to the sensor, that's why it has received the % as a unit.
ajvdw commentedon Jan 7, 2026
bvweerd commentedon Jan 7, 2026
solved in v1.5.2
ajvdw commentedon Jan 7, 2026
Looks like the reported version number is not changed (still 1.4.2)
bvweerd commentedon Jan 7, 2026
fixed as well, thanks!