diff --git a/automations.yaml b/automations.yaml index f4683d6..e6ab830 100644 --- a/automations.yaml +++ b/automations.yaml @@ -250,3 +250,20 @@ - light.living_room_lights - light.mud_room_overhead mode: single +- id: '1643321652916' + alias: Time-Based Presence Simulation + description: '' + trigger: + - platform: state + entity_id: group.family + to: not_home + for: + hours: 1 + minutes: 0 + seconds: 0 + condition: [] + action: + - service: switch.turn_on + target: + entity_id: switch.presence_simulation + mode: single diff --git a/scripts.yaml b/scripts.yaml index c745a0d..7ce14d7 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -176,9 +176,6 @@ family_is_away: - service: alarm_control_panel.alarm_arm_away target: entity_id: alarm_control_panel.alexa_guard_9ee3b - - service: switch.turn_on - target: - entity_id: switch.presence_simulation mode: single icon: mdi:shield-lock family_is_home: