The scenes are just the same as the standard home assistant scenes. So they are “one-way” only. I wanted them to be more like Apple Homekit does, where the scenes are lit when activated but only if all devices in the scene matches its state. E.g. I have a scene with 3 switches, I have set it up so that when I activate the scene all 3 switches turn on. The scene will light up showing it is activated. Now imagine you turn a device off. The scene would no longer be active as the states do not match to what you have set up in the scene. So I want the scene to be unlit (turn off). But I also wanted it to light up if I would manually turn all these devices on, as normally it would only turn on if you would actuate the scene.
It is a bit hard to explain, but basically I use multiple scenes, an ‘on’ and ‘off’ scene. The input_booleans are made as dummy switches, as scenes can not be switched on or off, but they call a service, so a button wouldn’t change it’s state. The automations are made for the scenes to show the state on or off. It will always turn on if I activate a scene, and it will always turn off (or show as off, as the states no longer match the scene) when one of the devices changes its state. But I wanted the scene to be lit as well when I manually change the switches to ‘on’. The automation doesn’t do this, that is where the groups come in. The first group is the ‘on’ group which are all the devices that have to be ‘on’ for the scene to be turned to ‘on’, in my example those 3 switches have to be ‘on’. I have set it up so that the group will only be shown as ‘on’ when all 3 switches are ‘on’.
The automations are based on those groups being on or off and they correspond with the scenes I have set up in
scenes.yaml, I have only done state and not the exact brightness of entities etc. because that would take a lot more work.
Anyways this is roughly how I try to make the scenes turn on/off. Have you seen the video I posted (the top post)? It shows what it does roughly. Also I am working on making this a whole lot simpler, easier to setup with less failure (as this will never work good after a restart and you will have to press all the scenes once to get it to work again). I will keep you informed if I have an update for this. For the time being I suggest you’d experiment a bit, if you have any more questions don’t hesitate to ask.