dont know where I got that from…
if I were to write it with the actual triggering entity, how could one write that (that is, in this case the script.intercom_text_message
? Or isnt that possible at all?
Does it make sense these errors now mostly appear when reloading the config? Ive yet to see them during regular operation
(restarted now with the correct logger settings, which btw already had script and automation and template helpers set to debug.)
so after restart, there’s no mentioning of the error. Forcing a manual reload results in this:
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:37 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:38 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'entity_id'
2020-08-01 23:44:39 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=1596318277.697244, exception=, count=1, first_occurred=1596318277.697244>
2020-08-01 23:44:39 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=1596318277.7075977, exception=, count=1, first_occurred=1596318277.7075977>
2020-08-01 23:44:39 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=1596318277.714817, exception=, count=1, first_occurred=1596318277.714817>
2020-08-01 23:44:39 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=1596318277.7193956, exception=, count=1, first_occurred=1596318277.7193956>
2020-08-01 23:44:39 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=1596318277.7223308, exception=, count=1, first_occurred=1596318277.7223308>
2020-08-01 23:44:39 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=1596318277.7252786, exception=, count=1, first_occurred=1596318277.7252786>
2020-08-01 23:44:39 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=1596318277.727718, exception=, count=1, first_occurred=1596318277.727718>
2020-08-01 23:44:39 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=1596318278.1770926, exception=, count=1, first_occurred=1596318278.1770926>
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.697244, 'exception': '', 'count': 1, 'first_occurred': 1596318277.697244}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 761772, tzinfo=<UTC>), 'context': {'id': '257cc4dd19fe4acfa649d824b676a55d', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.7075977, 'exception': '', 'count': 1, 'first_occurred': 1596318277.7075977}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 761994, tzinfo=<UTC>), 'context': {'id': 'f5a7a809ac7a43998a57f734df0386d8', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.714817, 'exception': '', 'count': 1, 'first_occurred': 1596318277.714817}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 766822, tzinfo=<UTC>), 'context': {'id': 'b52d9f0a43a141cb9b04272a43f3443c', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.7193956, 'exception': '', 'count': 1, 'first_occurred': 1596318277.7193956}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 767015, tzinfo=<UTC>), 'context': {'id': '28d86fd7db2b4670aec27fd42bdccb75', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.7223308, 'exception': '', 'count': 1, 'first_occurred': 1596318277.7223308}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 767909, tzinfo=<UTC>), 'context': {'id': '84d254fed0bb4565bdb3d66858fa927a', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.7252786, 'exception': '', 'count': 1, 'first_occurred': 1596318277.7252786}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 768099, tzinfo=<UTC>), 'context': {'id': '7b035fed29bb4f12a41e08fc2c40b51f', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318277.727718, 'exception': '', 'count': 1, 'first_occurred': 1596318277.727718}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 769735, tzinfo=<UTC>), 'context': {'id': 'aa1758cd35b148b29f95f17d9b75d4de', 'parent_id': None, 'user_id': None}}}
2020-08-01 23:44:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2858477264] Sending {'id': 3763, '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': 1596318278.1770926, 'exception': '', 'count': 1, 'first_occurred': 1596318278.1770926}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2020, 8, 1, 21, 44, 39, 787487, tzinfo=<UTC>), 'context': {'id': '94dff6e7fc904a7495e12830fc5163da', 'parent_id': None, 'user_id': None}}}
if I search for the 'id': 3763
there are 2511 hits…