Hi everyone,
I am trying to create a sensor that converts the battery states into values (better to work with).
But I would like to ensure that when the sensor is unavailable, a certain value is assigned.
It is in MQTT sensor. As I said, the payloads are fine. It is just about finding out how Home Assistant states the “Unknown”. This is not a value that is being sent as a payload but just what HA uses until is has received data.
I will try “unknown” next. But will this be language dependent? so if I ever switched my server to German, would the automation then break?