I like August App so I tried creating something similar
Conditional Card Door lock with open/close sensor
- type: conditional
conditions:
- entity: binary_sensor.xxx_open
state: “off”
card:
type: picture-entity
title: xxx
state_image:
locked: /local/august_locked_closed.png
unlocked: /local/august_unlocked_closed.png
entity: lock.xxx- type: conditional
conditions:
- entity: binary_sensor.xxx_open
state: “on”
card:
type: picture-entity
title: xxx
state_image:
locked: /local/august_locked_open.png
unlocked: /local/august_unlocked_open.png
entity: lock.xxx
Is there a better way to integrate door status to lock status?
Such that I have different images depending on open/closed status