Fix state trigger, and automations can't have icons, close #68

This commit is contained in:
2023-01-23 13:28:58 -05:00
parent 71dd8074b2
commit feda564fba

View File

@ -282,7 +282,8 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: input_boolean.kallen_two_hour_delay entity_id: input_boolean.kallen_two_hour_delay
state: 'on' from: 'off'
to: 'on'
action: action:
- service: input_boolean.turn_off - service: input_boolean.turn_off
target: target:
@ -306,7 +307,6 @@ automation:
milliseconds: 0 milliseconds: 0
- service: script.master_bedroom_scheduling_morning - service: script.master_bedroom_scheduling_morning
mode: single mode: single
icon: mdi:bus-clock
- id: f8ecfc73-cb78-42b6-9b21-e17ef1e72741 - id: f8ecfc73-cb78-42b6-9b21-e17ef1e72741
alias: Kallen School Cancelled alias: Kallen School Cancelled
@ -314,7 +314,8 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: input_boolean.kallen_school_cancelled entity_id: input_boolean.kallen_school_cancelled
state: 'on' from: 'off'
to: 'on'
action: action:
- service: input_boolean.turn_off - service: input_boolean.turn_off
target: target:
@ -344,7 +345,6 @@ automation:
milliseconds: 0 milliseconds: 0
- service: script.master_bedroom_scheduling_morning - service: script.master_bedroom_scheduling_morning
mode: single mode: single
icon: mdi:calendar-remove
script: script:
kallen_school_today: kallen_school_today: