I have several lightbulbs and switches that want to control together.
I tried the “Group” helper but cant figure out how to add lightbulbs and switches together.
So i created a scene that turns them on, and if possible, i would like to have a button or someting in the dashboard to toggle that scene on/off.
I added the button with the scene, but it only turns them on, never off.
If there is any way other than a scene so i can toggle that group of lights/switches on/off with a button (or anythign else) from my dashboard?
Thanks
Only “old-style” groups allow mixing entity domains.
If you want to be able to group them without editing YAML, you can use “Change device type of a switch” Helpers to create light entities for your switches. Then you can use those in a Light Group.
Another option is to use Labels. Then you can use the generic turn on/off actions targeted at the Label.
If you are coming to HA from a different platform, scenes may be very different than what you are used to. In HA, scenes are “stateless”. So, a dashboard button or toggle on their own will never be able to turn a scene off.
One way to accomplish that would be to create a second scene with all the lights off and an Input Boolean Helper. Then you would use an automation that triggers off the state of the Helper and uses an If/Then action to choose between the “on” scene and the “off” scene.