Bedroom motion turn off lights only when alarm is disarmed
This commit is contained in:
parent
186f8beb78
commit
2854b1056f
@ -71,6 +71,17 @@
|
|||||||
- 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.sm_g965f
|
||||||
|
zone: zone.home
|
||||||
|
event: enter
|
||||||
|
action:
|
||||||
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
|
|
||||||
- id: alarm-triggered
|
- id: alarm-triggered
|
||||||
alias: '[Alarm] Send notification when alarm triggered'
|
alias: '[Alarm] Send notification when alarm triggered'
|
||||||
trigger:
|
trigger:
|
||||||
|
Loading…
Reference in New Issue
Block a user