diff --git a/automations.yaml b/automations.yaml index e89626a..2b88071 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2989,3 +2989,20 @@ target: entity_id: scene.echo_volume_snapshot 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