Update alarm
This commit is contained in:
parent
2f21a64bd7
commit
881475af3d
@ -14,6 +14,12 @@
|
|||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.kitchen_motion_sensor
|
entity_id: binary_sensor.kitchen_motion_sensor
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
- platform: state
|
||||||
|
entity_id: binary_sensor.kitchen_tabletop_motion_detection
|
||||||
|
to: 'on'
|
||||||
|
- platform: state
|
||||||
|
entity_id: binary_sensor.sink_motion_sensor
|
||||||
|
to: 'on'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.shower_motion
|
entity_id: binary_sensor.shower_motion
|
||||||
to: 'on'
|
to: 'on'
|
||||||
@ -91,19 +97,6 @@
|
|||||||
- service: alarm_control_panel.alarm_arm_away
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
entity_id: alarm_control_panel.ha_alarm
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
|
|
||||||
- id: alarm-disarm
|
|
||||||
alias: '[Alarm] Disarm'
|
|
||||||
trigger:
|
|
||||||
- platform: zone
|
|
||||||
entity_id: device_tracker.przemyslaws_iphone
|
|
||||||
zone: zone.home
|
|
||||||
event: enter
|
|
||||||
action:
|
|
||||||
- service: alarm_control_panel.alarm_arm_away
|
|
||||||
entity_id: alarm_control_panel.ha_alarm
|
|
||||||
- service: switch.turn_off
|
|
||||||
entity_id: switch.siren_switch
|
|
||||||
|
|
||||||
- id: alarm-pending
|
- id: alarm-pending
|
||||||
alias: '[Alarm] Send notification when alarm triggered'
|
alias: '[Alarm] Send notification when alarm triggered'
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
from: 'on'
|
from: 'on'
|
||||||
to: 'off'
|
to: 'off'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
entity_id: binary_sensor.sink_motion_sensor
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: '0:02:00'
|
for: '0:02:00'
|
||||||
- platform: state
|
- platform: state
|
||||||
@ -77,7 +77,7 @@
|
|||||||
state: 'off'
|
state: 'off'
|
||||||
for: '0:02:00'
|
for: '0:02:00'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
entity_id: binary_sensor.sink_motion_sensor
|
||||||
state: 'off'
|
state: 'off'
|
||||||
for: '0:02:00'
|
for: '0:02:00'
|
||||||
- condition: state
|
- condition: state
|
||||||
@ -93,7 +93,7 @@
|
|||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
entity_id: binary_sensor.sink_motion_sensor
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: '0:05:00'
|
for: '0:05:00'
|
||||||
condition: [ ]
|
condition: [ ]
|
||||||
|
Loading…
Reference in New Issue
Block a user