automations.yaml
This commit is contained in:
@@ -2989,3 +2989,20 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: scene.echo_volume_snapshot
|
entity_id: scene.echo_volume_snapshot
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1785108022773'
|
||||||
|
alias: Alfred Lock - Auto Sync on Door Contact
|
||||||
|
description: Forces a lock state resync whenever the front door opens or closes.
|
||||||
|
triggers:
|
||||||
|
- entity_id: binary_sensor.front_door
|
||||||
|
to:
|
||||||
|
- open
|
||||||
|
- 'off'
|
||||||
|
trigger: state
|
||||||
|
actions:
|
||||||
|
- action: homeassistant.update_entity
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.alfred_lock_sync_switch
|
||||||
|
- action: homeassistant.update_entity
|
||||||
|
target:
|
||||||
|
entity_id: lock.alfred_front_door
|
||||||
|
mode: single
|
||||||
|
|||||||
Reference in New Issue
Block a user