You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of the custom_component
performing initial setup of latest version. pulled yaml text from raw. the sensor does show up in my entities list with the correct county name and it was renamed weatheralerts_1 as per instructions. im getting the below error when tryin to reboot after pasting the yaml
Describe the bug
Configuration errors
Invalid config for 'homeassistant' at packages/weatheralerts_1.yaml, line 2643: expected a dictionary for dictionary value 'packages->automation', got [{'alias': 'Weather Alert UI Notification - 1', 'initial_state': True, 'trigger': [{'platform': 'state', 'entity_id': 'sensor.weatheralerts_1_alert_1_last_changed'}, {'platform': 'homeassistant', 'event': 'start'}], 'condition': [{'condition': 'and', 'conditions': [{'condition': 'template', 'value_template': "{{ states('sensor.weatheralerts_1_alerts_are_active') == 'Yes' }}"}, {'condition': 'template', 'value_template': "{{ (as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_...
Invalid config for 'homeassistant' at packages/weatheralerts_1.yaml, line 49: expected a dictionary for dictionary value 'packages->sensor', got [{'platform': 'template', 'sensors': {'weatheralerts_1_active_alerts': {'friendly_name': 'Weather Alerts', 'unit_of_measurement': 'Alerts', 'icon_template': 'mdi:alert-rhombus', 'value_template': "{% set alerts_total = namespace(count=0) %} {% if (state_attr('sensor.weatheralerts_1', 'alerts')) %}\n {% for alert in state_attr('sensor.weatheralerts_1', 'alerts') %}\n {% if as_timestamp(alert['endsExpires']) - as_timestamp(now()) > 0 %}\n {% set alerts_total.count = alerts_total.count ...
The text was updated successfully, but these errors were encountered:
Version of the custom_component
performing initial setup of latest version. pulled yaml text from raw. the sensor does show up in my entities list with the correct county name and it was renamed weatheralerts_1 as per instructions. im getting the below error when tryin to reboot after pasting the yaml
Describe the bug
Configuration errors
Invalid config for 'homeassistant' at packages/weatheralerts_1.yaml, line 2643: expected a dictionary for dictionary value 'packages->automation', got [{'alias': 'Weather Alert UI Notification - 1', 'initial_state': True, 'trigger': [{'platform': 'state', 'entity_id': 'sensor.weatheralerts_1_alert_1_last_changed'}, {'platform': 'homeassistant', 'event': 'start'}], 'condition': [{'condition': 'and', 'conditions': [{'condition': 'template', 'value_template': "{{ states('sensor.weatheralerts_1_alerts_are_active') == 'Yes' }}"}, {'condition': 'template', 'value_template': "{{ (as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_...
Invalid config for 'homeassistant' at packages/weatheralerts_1.yaml, line 49: expected a dictionary for dictionary value 'packages->sensor', got [{'platform': 'template', 'sensors': {'weatheralerts_1_active_alerts': {'friendly_name': 'Weather Alerts', 'unit_of_measurement': 'Alerts', 'icon_template': 'mdi:alert-rhombus', 'value_template': "{% set alerts_total = namespace(count=0) %} {% if (state_attr('sensor.weatheralerts_1', 'alerts')) %}\n {% for alert in state_attr('sensor.weatheralerts_1', 'alerts') %}\n {% if as_timestamp(alert['endsExpires']) - as_timestamp(now()) > 0 %}\n {% set alerts_total.count = alerts_total.count ...
The text was updated successfully, but these errors were encountered: