Skip to content

Commit

Permalink
Update nws_alerts_custom_package.yaml
Browse files Browse the repository at this point in the history
per automation documentation initial_state should be boolean https://www.home-assistant.io/docs/automation/yaml/#automation-initial-state
  • Loading branch information
kreene1987 authored Jun 8, 2022
1 parent dc2ea9e commit 5e1d384
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/nws_alerts_custom_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ input_boolean:

automation:
- alias: 'NWS Check for Multi Alerts'
initial_state: 'on'
initial_state: true
trigger:
- platform: state
entity_id: sensor.nws_alerts
Expand All @@ -71,7 +71,7 @@ automation:
entity_id: input_boolean.nws_multi_alert

- alias: 'NWS Weather Alert Pop Up Control'
initial_state: 'on'
initial_state: true
trigger:
- platform: state
entity_id: sensor.nws_alerts
Expand Down Expand Up @@ -137,7 +137,7 @@ automation:
"{{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[0] }}"
- alias: NWS Notification Weather Alert
initial_state: 'on'
initial_state: true
trigger:
platform: state
entity_id: sensor.nws_alerts
Expand All @@ -152,7 +152,7 @@ automation:
"NWS: {{ state_attr('sensor.nws_alerts', 'title').split(' - ')[0] }}"
- alias: NWS Announce Weather Alert
initial_state: 'on'
initial_state: true
trigger:
- platform: state
entity_id: sensor.nws_alerts
Expand Down Expand Up @@ -226,7 +226,7 @@ automation:
{% endif %}
- alias: NWS Announce Weather Alert for MBR
initial_state: 'on'
initial_state: true
trigger:
- platform: state
entity_id: sensor.nws_alerts
Expand Down Expand Up @@ -278,7 +278,7 @@ automation:
message: "Attention!,,,Attention!,,,The National Weather Service Has issued a Tornado Warning for our area."

- alias: NWS Update Event ID Variable
initial_state: 'on'
initial_state: true
trigger:
- platform: state
entity_id: sensor.nws_alerts
Expand Down

0 comments on commit 5e1d384

Please sign in to comment.