I have an Zigbee controller, and I have zigbee2mqtt running and all, everything works, splendid.
In zigbee2mqtt, it displays the state of a device as follow:
{
"battery": 100,
"battery_low": false,
"linkquality": 90,
"tamper": false,
"water_leak": true
}
In HA, it shows like this: (see image)
I applied a label on this, and I'm regrouping it using a helper. When I'm trying to configure set helper, where do I get the actual value of the state?
Where is the conversion from "water_leak == true" to "Moisture == Wet" happens?