Hi
I am a novice trying to generate a configuration for a custom button board.
The problem is that the If statement test generates ‘false’ regardless of entity state. Anybody who can see my issue?
Hi
I am a novice trying to generate a configuration for a custom button board.
The problem is that the If statement test generates ‘false’ regardless of entity state. Anybody who can see my issue?
binary_sensors under the hood have a state of 'on'
or 'off'
, what you see in the UI is translated based on your language and the binary_sensor’s device class. Change your if statement to check for 'on'
or 'off'
instead of what you see in the UI.
To see all untranslated states, use the developer tools → states page. There you will see what the states actually are.