1
0

Fix changed alarm entity_id

This commit is contained in:
Przemek Grondek 2022-04-30 18:05:15 +02:00
parent 3afbe19b55
commit 5cf22ba793
6 changed files with 19 additions and 19 deletions

View File

@ -51,11 +51,11 @@
to: 'unlocked'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- id: alarm-night
alias: '[Alarm] Trigger alarm at night'
@ -80,11 +80,11 @@
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- id: alarm-arm-away
alias: '[Alarm] Arm away'
@ -95,13 +95,13 @@
event: leave
action:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- id: alarm-pending
alias: '[Alarm] Send notification when alarm triggered'
trigger:
- platform: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
to: 'pending'
action:
- service: notify.notify
@ -122,7 +122,7 @@
alias: '[Alarm] Turn on alarm'
trigger:
- platform: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
to: 'triggered'
action:
- service: notify.notify

View File

@ -46,7 +46,7 @@
to: 'off'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: disarmed
action:
- service: script.bedroom_lights_off

View File

@ -2,7 +2,7 @@
alias: '[Camera] Kitchen notification'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: armed_away
trigger:
- platform: state
@ -23,7 +23,7 @@
alias: '[Camera] Hallway notification'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: armed_away
trigger:
- platform: state

View File

@ -38,11 +38,11 @@
- choose:
- conditions:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: 'armed_home'
sequence:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- id: vacuum-daily-reset
alias: '[Vacuum] Reset daily cleaning'

View File

@ -2,7 +2,7 @@ good_night:
alias: Good Night
sequence:
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Night
@ -70,7 +70,7 @@ good_morning:
- cover.dining_blinds
- cover.office_blind
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Day
@ -86,7 +86,7 @@ leave_home:
alias: Leave Home
sequence:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Away
@ -142,7 +142,7 @@ arrive_home:
alias: Arrive Home
sequence:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Day

View File

@ -12,14 +12,14 @@ vacuum_today:
- condition: or
conditions:
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: 'armed_away'
- condition: state
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
state: 'arming'
sequence:
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.ha_alarm
entity_id: alarm_control_panel.home_alarm
- service: vacuum.start
entity_id: vacuum.valetudo_valetudos5