What I am trying to do: I am trying to make a scene to control my lights. I have googled quite a bit, but I am at a loss of what to even search for at this point.
What works: I have successfully added three Yeelight smart bulbs to my scene and they work…
What does not work:…but I cannot add two of my other lights to the scene which are Sonoff switches. As far as I understand, they should be lights, since in the configuration, I specify device_class: light. I am guessing the problem is that they are just an entity and not a device?
My current workaround: The way I am currently working around this is that I have an automation which sets the scene and then also triggers the two Sonoff lights, however, I would prefer to have all 5 lights be part of the scene (mostly b/c of the apple watch app only showing me scenes and not automations).
Thank for any tips! I am happy to provide any additional information.
You can add entities to a scene, not just devices.
Is that possible through the UI, or do I have to edit some .yaml file? Because in the GUI, these two lights are not among the options (as opposed to the yeelights). Even if I try to search for light I simply get no devices matching that. See screenshot below:
I’m running latest HA in docker on a Raspberry Pi 4 (info below). But I cannot see why this would be the reason that I can only add Devices and not Entities into scenes. Am I missing something? Is this functionality dependent on supervisor? I’m happy to provide any additional info.
Version core-2022.3.5
Installation Type Home Assistant Container
Development false
Supervisor false
Docker true
User root
Virtual Environment false
Python Version 3.9.9
Operating System Family Linux
Operating System Version 5.10.63-v7l+
CPU Architecture armv7l
Timezone Europe/Bern
Alright! Thanks to your help, I have manually edited the scenes.yaml and figured out a way to add the entities in such a way that they turn off. I will mark this as solved, but I still don’t understand why I cannot add any entities through the UI.