I’m using ESPHome for several binary sensors. For a door, when the door opens the sensor state changes to “on”. Can I change that so the state shows “open”
[21:29:45][D][binary_sensor:036]: 'Terminal 3': Sending state OFF
[21:29:47][D][binary_sensor:036]: 'Terminal 3': Sending state ON
[21:29:48][D][binary_sensor:036]: 'Terminal 3': Sending state OFF
[21:29:49][D][binary_sensor:036]: 'Terminal 3': Sending state ON
[21:29:55][D][binary_sensor:036]: 'Terminal 1': Sending state OFF
I believe the device_class will only change the appearance in the frontend… the actual state will still be on/off… (binary_sensor) but added to a card in the frontend will then say “Open/Closed” respectively…