I have a Lock entity which shows as a button. However this button is only for status indication and is not operatable. I would like it to show as a sensor on the frontend instead. Is this possible?
Done thanks
- platform: template
sensors:
doors_locked:
friendly_name: "Doors"
value_template: >-
{% if is_state('Lock.doors_locked', 'locked') %}
Locked
{% else %}
Open
{% endif %}