Logger: homeassistant.components.automation.family_room_sensor_light_activation
Error rendering variables: UndefinedError: 'list object' has no attribute 'entity_id' Source: components/automation/__init__.py:724 Time: 2025-12-25 07:04:03
LLM claims
That error means one of your variables templates in automation.family_room_sensor_light_activation is treating a list like it’s a single entity/state object.
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on “</>” and paste code in there.
I’m not at home right now, but I grabbed the code, just won’t be able to test for a while:
alias: Family Room Sensor Light Activation
description: >-
This automation activates the sensor lights in the family room when specific
media players start playing content, allowing for a cinematic effect. It takes
into account time delays for intermissions and pauses, ensuring lights are
appropriately controlled during viewing sessions.
use_blueprint:
path: Blackshome/sensor-light-add-on.yaml
input:
trigger_entities:
- media_player.family_room_virtual_player
- media_player.family_room_virtual_player_2
- media_player.z9x_8k
- media_player.emby_shield
trigger_on_state:
- playing
time_delay: 2
include_intermission: intermission_enable
intermission_state:
- paused
- idle
You need to enter in your Movie Lights into **Lights - Switches - Scenes - Scripts *** and you also selected Intermission Lights so you will need to enter in your Intermission - Lights - Switches - Scenes - Scripts.
PS: I just fixed a bug so update the blueprint by clicking on the import blueprint button again.
hi @Blacky , with apologies if i’ve missed an update, but is there a way to set the Sensor Lights blueprint to always turn on using the current colour temperature as stored in a variable? This would fix a little niggle I have with the otherwise completely perfect blueprint. (It really is great, I use it for ALL my lights.)