I’m seeing an error in my logs when I try to use the “profile” attribute when setting a scene for a group of hue lights. I’m wondering if this is a bug or if I should be doing something differently.
Background
I would like to use my custom light_profiles.csv
so that when the scene activates it uses a specific x,y, brightness setting for all the bulbs so that I have a central way to control that for all scenes.
light_profiles.csv
id,x,y,brightness
custom_nightlights,0.4578,0.41,25
custom_relax,0.4578,0.41,77
custom_nightlights_cool,0,0,68
custom_bright,0.4578,0.41,191
halloween_orange,0.615,0.374,95
halloween_purple,0.294,0.122,95
christmas_green,0.172,0.742,95
christmas_red,0.56,0.326,95
christmas_white,0.317,0.331,110
custom_concentrate,0.314,0.331,255
Scene
- id: '1234566789'
name: Living room nightlights
entities:
light.living_room_mood_lights:
effect_list:
- colorloop
- random
friendly_name: Living Room Mood Lights
is_hue_group: true
max_mireds: 500
min_mireds: 153
state: 'on'
supported_features: 63
profile: custom_nightlights
This works correctly and has for years, but I also see the message below in my logs.
2020-09-14 10:50:00 WARNING (MainThread) [homeassistant.components.light.reproduce_state] The use of other attributes than device state attributes is deprecated and will be removed in a future release. Invalid attributes are ['profile']. Read the logs for further details: https://www.home-assistant.io/integrations/scene/
Any ideas on what I might be doing wrong?