Entities of single device cannot be controlled independently using scene editor #10105
-
The problemThe scene editor does not allow individual entities to be added to a scene when they belong to a device that provides more than one entity. The editor always adds all entities of the device, even if the user tries to add a single entity in the In the example below I only tried to put the first entity into the scene, not the second: As a result, certain scene configurations are impossible to control from the UI. It seems to be possible, however, to add individual entities from the What is version of Home Assistant Core has the issue?core-2021.9.7 What was the last working version of Home Assistant Core?never worked What type of installation are you running?Home Assistant Supervised Integration causing the issuescene Link to integration documentation on our websitehttps://www.home-assistant.io/integrations/scene/ Example YAML snippetNo response Anything in the logs that might be useful for us?No response Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 1 reply
-
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( scene documentation |
Beta Was this translation helpful? Give feedback.
-
This is a limitation in the frontend's scene editor, the resulting scene has no concept of devices. Maybe frontend can show all entities of a device, but allow excluding an entity from the actual scene? |
Beta Was this translation helpful? Give feedback.
-
Suggestion for a user-friendly solution consistent with the current interface would be:
Adding a device when the user explicitely asked to add an entity feels like a bug from the user perspective. |
Beta Was this translation helpful? Give feedback.
-
Possibly related, though I consider this more a bug than a feature request: |
Beta Was this translation helpful? Give feedback.
-
Looking at the code, I understand this behaviour has been introduced by purpose in PR #6343 by @bramkragten so there is probably some higher intention to this? |
Beta Was this translation helpful? Give feedback.
-
The intention is to make the scene editor device oriented, but it doesn't mean we should force a scene to actuate all devices. |
Beta Was this translation helpful? Give feedback.
-
Understood. However, while the scene editor is not really device oriented just now, would a roll-back of the above mentioned code not solve the problem, or are there other things to consider? It could be re-introduced once the UI reflects the desired device orientation. |
Beta Was this translation helpful? Give feedback.
-
I think the UI is OK as is, but we should allow excluding entities of a device from a scene. |
Beta Was this translation helpful? Give feedback.
-
Also see https://community.home-assistant.io/t/cant-add-single-entity-to-scene/343505 I support changing it back to excluding entities in the UI (workaround is via YAML). |
Beta Was this translation helpful? Give feedback.
-
In the current state of the scenes ui, the scenes editor becomes a landmine waiting to be stepped on if you have used the yaml work around. Scenes to me seem to be a core function for a smart home platform. I wish this issue had more attention paid to it considering the obvious push to more UI based configuration to improve user adoption through easy of use. My problem devices are Shelly 2.5s with a light and fan. Making a lighting scene shouldn't force me to also change the fan. |
Beta Was this translation helpful? Give feedback.
-
There's a draft PR to fix this: #11046 |
Beta Was this translation helpful? Give feedback.
-
I ended up here with a use case that makes this even more annoying. RPi RF was dropped as of 2022.4. I was using this to control lots of 433MHz RF mains switches. But when I come to put some of those switches into scenes... as per above, it auto includes the esphome device which includes all of my RF switches. So now any scene must set the state of all RF switches in my house. Which is never what I want to do. |
Beta Was this translation helpful? Give feedback.
-
I also have a big problem with scenes automatically adding the whole device. I want to use scenes for my lights, some of which are on ESPs which control other things. In the example below I have an ESP which does lots of quite important spa control related things - which I definitely do not want my scene touching, the same ESP happens to also to control the pool and spa lights - which I want in my scene. |
Beta Was this translation helpful? Give feedback.
-
This has been fixed by #11046, which is included in Home Assistant Core 2022.06 |
Beta Was this translation helpful? Give feedback.
-
My home assistant version is updated to 2022.06 and I don't get the option to select entities, only devices. Any suggestions as to what I might be doing wrong? |
Beta Was this translation helpful? Give feedback.
This has been fixed by #11046, which is included in Home Assistant Core 2022.06