Changed presence simulation to only activate if gone for an hour or more
This commit is contained in:
@ -250,3 +250,20 @@
|
|||||||
- light.living_room_lights
|
- light.living_room_lights
|
||||||
- light.mud_room_overhead
|
- light.mud_room_overhead
|
||||||
mode: single
|
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
|
||||||
|
@ -176,9 +176,6 @@ family_is_away:
|
|||||||
- service: alarm_control_panel.alarm_arm_away
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
target:
|
target:
|
||||||
entity_id: alarm_control_panel.alexa_guard_9ee3b
|
entity_id: alarm_control_panel.alexa_guard_9ee3b
|
||||||
- service: switch.turn_on
|
|
||||||
target:
|
|
||||||
entity_id: switch.presence_simulation
|
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:shield-lock
|
icon: mdi:shield-lock
|
||||||
family_is_home:
|
family_is_home:
|
||||||
|
Reference in New Issue
Block a user