Skip to content

MQTT Sensor in HA has "---" state #614

Closed Answered by fredlcore
proasnet asked this question in Q&A
Discussion options

You must be logged in to vote

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...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@proasnet
Comment options

Answer selected by fredlcore
Comment options

You must be logged in to vote
1 reply
@proasnet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants