I think this is all that is needed for now. #554 - Alexa Guard.
This commit is contained in:
parent
cac1c13f6f
commit
5c61861def
|
@ -80,3 +80,11 @@
|
||||||
data_template:
|
data_template:
|
||||||
object_id: "arriving"
|
object_id: "arriving"
|
||||||
entities: []
|
entities: []
|
||||||
|
|
||||||
|
# Only Disarm if armed. Otherwise, Exit out.
|
||||||
|
- condition: state
|
||||||
|
entity_id: alarm_control_panel.alexa_guard
|
||||||
|
state: armed
|
||||||
|
|
||||||
|
- service: alarm_control_panel.alarm_disarm
|
||||||
|
entity_id: alarm_control_panel.alexa_guard
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
- alias: 'Away Mode'
|
- alias: 'Away Mode'
|
||||||
id: 712e845a-9d72-4993-b8af-890b167c807b
|
id: 712e845a-9d72-4993-b8af-890b167c807b
|
||||||
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.downstairs_nest_away
|
entity_id: binary_sensor.downstairs_nest_away
|
||||||
|
@ -11,16 +12,12 @@
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
to: 'not_home'
|
to: 'not_home'
|
||||||
- platform: state
|
|
||||||
entity_id: input_boolean.good_night
|
|
||||||
to: 'on'
|
|
||||||
- platform: event
|
- platform: event
|
||||||
#Sent from IFTTT Webhooks : {"action":"IFTTT_Away:}
|
#Sent from IFTTT Webhooks : {"action":"IFTTT_Away:}
|
||||||
event_type: ifttt_webhook_received
|
event_type: ifttt_webhook_received
|
||||||
event_data:
|
event_data:
|
||||||
action: IFTTT_Away
|
action: IFTTT_Away
|
||||||
|
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
|
@ -31,7 +28,10 @@
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.interior_off
|
- service: script.interior_off
|
||||||
|
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.back_landscaping
|
entity_id: switch.back_landscaping
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.good_night
|
# Arms Alexa Guard. Disarms in the Announcements.yaml
|
||||||
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
|
entity_id: alarm_control_panel.alexa_guard
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue