Hi,
I am wondering how i could hide switch from a lock class (function to unlock isn’t there) i just want to show state, like locked or unlocked.
Is this possible somehow?
Brg
Robin
Hi,
I am wondering how i could hide switch from a lock class (function to unlock isn’t there) i just want to show state, like locked or unlocked.
Is this possible somehow?
Brg
Robin
KI would recommend you to do template sensor to show the state you want.
Here is an example
sensor:
- platform: template
sensors:
frontdoor:
friendly_name: 'Frontdoor'
value_template: '{% if is_state("binary_sensor.frontdoor_sensor", "on") %}Open{% else %}Closed{% endif %}'
Thanks, that solved it