-
Please, help me with MQTT sensor in HA. Some values from BSBLAN has after off status not zero values.
Is possible define in yaml mqtt sensor, that "---" is zero? In HA, after message is "---", is displayed last value of sensor, not actual. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Zero is not the same as |
Beta Was this translation helpful? Give feedback.
-
Ah, ok, I'm sorry that I can't help you then as I'm not a HA user/expert... |
Beta Was this translation helpful? Give feedback.
Zero is not the same as
---
. For a sensor, this means that the sensor is either not available or deactivated, so interpreting this as 0 could have severe consequences. Imagine you have a temperature sensor which is deactivated and the system would act as if it was at 0 degrees...