second positive conclusion: I see the error on each persistent notification dismissal. Haven’t found the templated ‘entity_id’ in any related automation/script/template sensor yet, but this needs further investigation. Will click dismiss one more and find the last few seconds in the log…
this is a log section, occurring after dismissal of a persistent_notification.
would you please look with me for possible issues?
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=dismiss, service_data=notification_id=github_light_entity>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.github_light_entity, old_state=<state persistent_notification.github_light_entity=notifying; title=Github update for Light entity, message=![image](/local/various/github_icon.png) Light entity was updated to 4.2.0. Download the [latest release](https://github.com/ljmerza/light-entity-card/releases/tag/4.2.0) @ 2020-08-05T09:44:37.423980+02:00>, new_state=None>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event persistent_notifications_updated[L]>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'call_service', 'data': {'domain': 'persistent_notification', 'service': 'dismiss', 'service_data': {'notification_id': 'github_light_entity'}}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 526156, tzinfo=<UTC>), 'context': {'id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'parent_id': None, 'user_id': '3a8d4c2a87334e2a96b7822f67356b63'}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.update_rss_feed_sensors, old_state=<state automation.update_rss_feed_sensors=on; last_triggered=2020-08-05T13:04:40.935287+02:00, mode=queued, max=10, current=1, friendly_name=Update Rss feed sensors, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>, new_state=
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=Update Rss feed sensors, entity_id=automation.update_rss_feed_sensors>
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Executing Update Rss feed sensors
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.github_persistent_notification_dismissal_turns_off_boolean, old_state=<state automation.github_persistent_notification_dismissal_turns_off_boolean=on; last_triggered=2020-08-05T13:04:40.936706+02:00, mode=restart, friendly_name=Github persistent notification dismissal turns off boolean, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>, new_state=
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=Github persistent notification dismissal turns off boolean, entity_id=automation.github_persistent_notification_dismissal_turns_off_boolean>
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Executing Github persistent notification dismissal turns off boolean
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Github persistent notification dismissal turns off boolean: Running script
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Github persistent notification dismissal turns off boolean: Executing step call service
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'persistent_notification.github_light_entity', 'old_state': <state persistent_notification.github_light_entity=notifying; title=Github update for Light entity, message=![image](/local/various/github_icon.png) Light entity was updated to 4.2.0. Download the [latest release](https://github.com/ljmerza/light-entity-card/releases/tag/4.2.0) @ 2020-08-05T09:44:37.423980+02:00>, 'new_state': None}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 527296, tzinfo=<UTC>), 'context': {'id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'parent_id': None, 'user_id': '3a8d4c2a87334e2a96b7822f67356b63'}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'persistent_notifications_updated', 'data': {}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 527719, tzinfo=<UTC>), 'context': {'id': '32ce051a89f84fe5b8836e9d00d04358', 'parent_id': None, 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'automation.update_rss_feed_sensors', 'old_state': <state automation.update_rss_feed_sensors=on; last_triggered=2020-08-05T13:04:40.935287+02:00, mode=queued, max=10, current=1, friendly_name=Update Rss feed sensors, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>, 'new_state':
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 532714, tzinfo=), 'context': {'id': 'da9a7369e33244c387ed5b482e5b7917', 'parent_id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'automation_triggered', 'data': {'name': 'Update Rss feed sensors', 'entity_id': 'automation.update_rss_feed_sensors'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 533197, tzinfo=<UTC>), 'context': {'id': 'da9a7369e33244c387ed5b482e5b7917', 'parent_id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'automation.github_persistent_notification_dismissal_turns_off_boolean', 'old_state': <state automation.github_persistent_notification_dismissal_turns_off_boolean=on; last_triggered=2020-08-05T13:04:40.936706+02:00, mode=restart, friendly_name=Github persistent notification dismissal turns off boolean, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>, 'new_state':
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 535506, tzinfo=), 'context': {'id': '752c5140a75d476a88924f8c7e0416c7', 'parent_id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'automation_triggered', 'data': {'name': 'Github persistent notification dismissal turns off boolean', 'entity_id': 'automation.github_persistent_notification_dismissal_turns_off_boolean'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 535929, tzinfo=<UTC>), 'context': {'id': '752c5140a75d476a88924f8c7e0416c7', 'parent_id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=persistent_notification.github_light_entity, old_state=<state persistent_notification.github_light_entity=notifying; title=Github update for Light entity, message=![image](/local/various/github_icon.png) Light entity was updated to 4.2.0. Download the [latest release](https://github.com/ljmerza/light-entity-card/releases/tag/4.2.0) @ 2020-08-05T09:44:37.423980+02:00>, new_state=None>}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Sending {'id': 25, 'type': 'event', 'event': {'event_type': 'persistent_notifications_updated', 'data': {}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 527719, tzinfo=<UTC>), 'context': {'id': '32ce051a89f84fe5b8836e9d00d04358', 'parent_id': None, 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=automation.update_rss_feed_sensors, old_state=<state automation.update_rss_feed_sensors=on; last_triggered=2020-08-05T13:04:40.935287+02:00, mode=queued, max=10, current=1, friendly_name=Update Rss feed sensors, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>, new_state=
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.527035+02:00>>}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=automation.github_persistent_notification_dismissal_turns_off_boolean, old_state=<state automation.github_persistent_notification_dismissal_turns_off_boolean=on; last_triggered=2020-08-05T13:04:40.936706+02:00, mode=restart, friendly_name=Github persistent notification dismissal turns off boolean, templates=icon_color=if (state == 'on') return 'gold'; return 'steelblue';
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>, new_state=
, hide_attributes=['templates', 'editable', 'icon_color'] @ 2020-08-05T13:02:41.531772+02:00>>}
2020-08-05 13:06:54 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=input_boolean, service=turn_off, service_data=entity_id=input_boolean.github_light_entity>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: name=homeassistant.helpers.condition, message=["Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'"], level=ERROR, source=['helpers/condition.py', 420], timestamp=1596625614.6127067, exception=, count=1, first_occurred=1596625614.6127067>
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Sending {'id': 85, 'type': 'result', 'success': True, 'result': {'context': Context(user_id='3a8d4c2a87334e2a96b7822f67356b63', parent_id=None, id='67602e7bba6a409e8b0520ca0de96a8f')}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785242608] Received {'type': 'persistent_notification/get', 'id': 86}
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Update Rss feed sensors: Running script
2020-08-05 13:06:54 INFO (MainThread) [homeassistant.components.automation] Update Rss feed sensors: Executing step call service
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'call_service', 'data': {'domain': 'input_boolean', 'service': 'turn_off', 'service_data': {'entity_id': 'input_boolean.github_light_entity'}}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 638192, tzinfo=<UTC>), 'context': {'id': '752c5140a75d476a88924f8c7e0416c7', 'parent_id': '65f7fe119b3b4deaacb28fdd7bea4cbe', 'user_id': None}}}
2020-08-05 13:06:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2848559936] Sending {'id': 4185, 'type': 'event', 'event': {'event_type': 'system_log_event', 'data': {'name': 'homeassistant.helpers.condition', 'message': ["Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'"], 'level': 'ERROR', 'source': ['helpers/condition.py', 420], 'timestamp': 1596625614.6127067, 'exception': '', 'count': 1, 'first_occurred': 1596625614.6127067}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 5, 11, 6, 54, 638803, tzinfo=<UTC>), 'context': {'id': '8f09573b9bfa49d4890178f2f808bfb0', 'parent_id': None, 'user_id': None}}}