core
core copied to clipboard
"The unit changed" repair for statistics sensors
The problem
Some platform: statistics sensors will trigger a repair called "The unit changed" when unit of measurement is "".
For example a change sensor will output an empty unit of measurement when displaying "0" for some time. This is an old behavior, what is different is the new repairs spaming the notification.
What version of Home Assistant Core has the issue?
2024.10.0b0
What was the last working version of Home Assistant Core?
2024.9.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
repair
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
sensor:
- platform: statistics
name: "stove_power_change"
entity_id: sensor.putere_plita_electrica
state_characteristic: change
max_age:
seconds: 10
Anything in the logs that might be useful for us?
No response
Additional information
No response