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
I'm using this sensor to average my temperatures. E.g. i have several sensors in my living room which are averaged to a single value. This value (sensor) is used as an input to calculate (average again) the temperature of the first floor. When i do so, the sensor of the averaged temp in the first floor has no unit of measurement.
I have a value coming from node-red with unit EUR/MWh, and then randomly the EUR/MWh unit is lost.
Then to restore this, I have to erase the history for the whole entity, only then does the unit come back.
This happens after every restart of HA. Seems like if there is even one value where it receives "0" or "unavailable" then the unit is just deleted.
How about just adding a setting to the sensor where it is possible to specify the unit???
Every other sensor has this possibility but not this one.
Anyway, for now I am doing the average calculation in Node RED, so that I can specify the units.
Describe the bug
I'm using this sensor to average my temperatures. E.g. i have several sensors in my living room which are averaged to a single value. This value (sensor) is used as an input to calculate (average again) the temperature of the first floor. When i do so, the sensor of the averaged temp in the first floor has no unit of measurement.
Configuration.yaml
Expected behavior
Keep the unit of measurement.
The text was updated successfully, but these errors were encountered: