How to change text state of Binary Sensor from "Off - On" to "Locked - Unlocked"?
I have used a Eps32 gpio to capture a door status.
The powerbolt output is wired to both a door reed and a bolt position.
Meaning, if the output is closed the door is both closed and locked.
I have been using it for over a year and it reports perfect.
However in HA it reports as "OFF" or "ON"
EPShome YAML code in ESP32 S3
- platform: gpio
pin:
number: GPIO17
mode: INPUT_PULLUP
name: "Front Door"
Is there a way to change this on the Dashboard / Tile Cards to show Locked / Unlocked?
Thanks for any guidance