To much automations ? log errors

Hey everyone. I’m a newbie to Home Assistant. Thanks to some forums (including this site), youtube tutorials and chatGPT, I managed to setup something functionnal and pretty. I still implement new automations, but i finished the light automation.

I would like to know, have i gone too far already ? Are my automations too complex ?

The whole setup is very human friendly and i don’t think i could achieve this in a much simpler way. However, i wonder if this is too much. Sometimes, some automations / scenes take time to take effect. I also have some errors in the Home assistant log.

Below, you will find an example of my light automation setup.

Here is my dashboard :

Here is an example of the light automations in “Salon” (lets call it Room1) which has 2 light bulbs and 1 motion sensor :

I first created 4 scenes : “Room1 Off”, “Room1 Day”, “Room1 Evening”, “Room1 Night”. For each scene i have 2 light bulbs connected via Zigbee and different light settings.

I then have 4 automations, 1 input select and 2 virtual switches :

  • automation 1 to “debug” all the lights when changing light mode (the problem was : Playing → “Room1 Day” → “Room1 Off” → “Room1 Night” resulted in a short (and way to bright) trigger of the “Room1 Day” scene before effectively triggering “Room1 Night”.)
  • automation 2 to toggle virtual switch 1 depending on the inputs from the motion / lux sensor.
  • automation 3 to play “Room1 Day”, “Room1 Evening”, “Room1 Night” scene based on the input select state (Day, Evening, Night) triggered by the virtual switch going from off to on.
  • automation 4 to play “Room 1 Off” scene triggered by the virtual switch going from on to off.
  • input select to choose between the different light modes for the whole house
  • virtual switch 1 to pilot lights and link automations
  • virtual switch 2 that controls the first virtual switch. It overrides (used as a condition) the automation 2 and is used to trigger manually automation 3 and automation 4. I wanted this so the manual switch is not shown as “on” if the light is only triggered by the automation 2.

Another switch enables / disables the automation 2.

You can duplicate everything above 2 times since i have 3 rooms controlled the same way.

I hope you can understand me, if you don’t feel free to ask questions.

depends a bit on the speed of the hardware, but 4 automations isn’t a lot

and logs please?

Home assistant is running on a VM on Windows. It has an intel celeron N3350 and 2gb of RAM allowed. Installed on an SSD.
I think there might be an undefined entity in the blueprint I used to create 2 automations “Mouvement Salon” and “Mouvement Couloir”. I’m not sure how to read the logs and identify the problem though.

# Home Assistant Core

2023-03-28 09:27:37.945 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration virtual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-03-28 09:27:37.952 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration tapo_control which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-03-28 09:27:37.955 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-03-28 09:28:41.719 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.iloratapo_privacy is taking over 10 seconds

2023-03-28 10:16:44.455 ERROR (MainThread) [frontend.js.latest.202303091] http://100.91.18.22:8123/lovelace/lumieres:0:0 Uncaught

2023-03-28 10:39:52.102 ERROR (MainThread) [frontend.js.latest.202303091] http://100.91.18.22:8123/lovelace/lumieres:0:0 Uncaught

2023-03-28 11:03:29.715 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:03:59.050 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:04:02.915 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:12:14.554 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:16:19.394 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:17:10.782 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:17:16.933 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:27:19.185 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:27:50.040 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:28:09.230 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:28:17.249 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:28:59.422 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:29:02.621 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:32:20.361 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:32:28.691 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:32:53.962 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:33:00.455 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:33:24.169 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:34:10.069 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:35:28.219 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:36:00.453 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:36:27.381 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:36:46.216 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:37:48.346 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:38:03.646 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:38:17.544 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:38:32.808 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:38:51.013 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:39:14.713 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:41:47.931 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:41:53.718 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:42:08.300 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:42:25.608 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:43:05.870 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:43:31.108 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Couloir':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:43:34.309 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:44:33.554 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:44:59.667 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:46:09.492 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 11:55:11.173 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:00:15.143 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:01:24.862 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:03:36.912 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:09:33.423 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:09:59.999 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:11:27.208 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:14:05.126 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:15:37.436 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:16:18.747 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:16:40.444 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:18:20.851 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:23:45.271 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:24:14.669 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:24:54.721 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:33:07.362 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:34:28.547 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:35:09.451 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:35:39.160 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:36:38.413 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:49:41.848 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:53:42.954 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:54:42.081 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:55:11.465 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:55:31.861 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:55:58.887 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:57:03.070 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:57:47.665 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:58:45.564 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 12:59:25.076 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:00:03.737 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:00:30.292 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:01:07.174 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:01:51.289 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:02:48.650 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:03:42.358 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:04:40.764 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:04:58.038 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:05:16.583 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:05:52.149 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:06:37.776 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:07:34.380 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:33:55.472 ERROR (MainThread) [frontend.js.latest.202303091] http://192.168.31.8:8123/lovelace/lumieres?external_auth=1:0:0 Uncaught

2023-03-28 13:34:24.766 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:35:57.439 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:37:52.249 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

2023-03-28 13:39:29.890 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in 'Mouvement Salon':

In 'condition' (item 4 of 6):

In 'or' (item 5 of 5):

In 'template' condition: UndefinedError: 'dict object' has no attribute 'entity_id'

I have around 15 automations for now.
Here the exemple of the longest (=most cpu heavy ?) automation i have.

alias: Comportement "lights_mode"
description: ""
trigger:
  - platform: state
    entity_id:
      - input_select.lights_mode
condition: []
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: input_select.lights_mode
            state: Jour
        sequence:
          - parallel:
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_chambre
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_chambre
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_chambre
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_couloir
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_couloir
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_couloir
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_salon
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_jour_salon
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_salon
                        metadata: {}
      - conditions:
          - condition: state
            entity_id: input_select.lights_mode
            state: Soir
        sequence:
          - parallel:
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_sour_chambre
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_sour_chambre
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_chambre
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_soir_couloir
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_soir_couloir
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_couloir
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_soir_salon_dupliquer
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_soir_salon_dupliquer
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_salon
                        metadata: {}
      - conditions:
          - condition: state
            entity_id: input_select.lights_mode
            state: Nuit
        sequence:
          - parallel:
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_chambre
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_chambre
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_chambre
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_chambre
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_couloir
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_couloir
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_couloir
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_couloir
                        metadata: {}
              - choose:
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "on"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_salon
                        metadata: {}
                  - conditions:
                      - condition: state
                        entity_id: switch.virtual_vlumiere_salon
                        state: "off"
                    sequence:
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_nuit_salon
                        metadata: {}
                      - delay:
                          hours: 0
                          minutes: 0
                          seconds: 1
                          milliseconds: 0
                      - service: scene.turn_on
                        target:
                          entity_id: scene.lumiere_off_salon
                        metadata: {}

Looks pretty basic to me, althought the errors in ‘Mouvement Salon’ need to be checked…

You can always chec the trace-logs of the automation:

Ok thanks. I felt it was something pretty okay for a computer to handle :slight_smile:
I was just worried about the errors in the log. I will take a look at this.
There is still some errors i don’t understand in the log. Should i take care of it ? They don’t occure a lot (Extract from log):

2023-03-28 09:27:37.945 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration virtual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-28 09:27:37.952 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration tapo_control which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-28 09:27:37.955 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-28 09:28:41.719 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.iloratapo_privacy is taking over 10 seconds
2023-03-28 10:16:44.455 ERROR (MainThread) [frontend.js.latest.202303091] http://100.91.18.22:8123/lovelace/lumieres:0:0 Uncaught
2023-03-28 10:39:52.102 ERROR (MainThread) [frontend.js.latest.202303091] http://100.91.18.22:8123/lovelace/lumieres:0:0 Uncaught





Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:162
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 14:03:24 (1 occurrences)
Last logged: 14:03:24

[139917221573392] Error handling message: Integration '' not found (unknown_error) AdrienSarah from 127.0.X.X (Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36)





Logger: frontend.js.latest.202303091
Source: components/system_log/__init__.py:254
First occurred: 10:16:44 (4 occurrences)
Last logged: 13:57:35

http://100.91.XX.XX:8123/lovelace/lumieres:0:0 Uncaught
http://192.168.XX.X:8123/lovelace/lumieres?external_auth=1:0:0 Uncaught






Logger: homeassistant.helpers.entity
Source: helpers/entity.py:541
First occurred: 09:28:41 (1 occurrences)
Last logged: 09:28:41

Update of switch.tapoC210_privacy is taking over 10 seconds

The error was simply caused by the automation being triggered again before it was finished. Changing the automation mode to restart fixed it.