It would be nice if scenes had the state active when all entity states match the configured state. (Like in HomeKit)
With this they could be used as condition in automations for example.
(Disable automatic cover control when cinema mode is enabled and so on.)
The challenge presented with this Feature request is that scenes donāt really indicate their state. Check Developer Tools > States and youāll see the state of your scenes is always scening (even if you turn on a scene).
Unlike groups, scenes are effectively stateless. Thereās a scene.turn_on service, to activate a scene, but no scene.turn_off service to deactivate it.
Iām not sure if I understand you correctly, you want HA to recognize that when e.g. you turn on TV and turn off lights in the living room, then your home is in cinema mode?
Exactly. I suggest that scenes should have a state. Like a switch or a group for example. But with all propertys (light color, shutter posistion and so on)
This would make the following things a little bit more easy:
you could use this scenes as a condition in a automation when you need the same conditions over and over again. You can ādisableā automations when the room or whatever is not in the right mode.
A card in lovelace would be possible, which showes the courrent mode of your room. And you can switch it. (Cinema mode, morning mode, away mode.) what ever.
And this also happens when you do it manually with your entities.
What i want to do with it:
I have a light sensor (lx) wich I want to use to control my shutters.
The sensor is outside.
The automation closes them to 60% if the sun is too strong along with other conditions.
I also created a scene ācinema modeā that closes the shutter completely turns on the tv, speakers and stuff.
If this is the case i dont want to open the shutters because the sun is too strong.
Of cause i could do it with many automations/conditions. But it would make thinks much more complex.
I also use āmodesā in my system. I have an input_boolean for each mode (you could use an input_select if the modes are mutually exclusive) and I turn on/off that input_boolean when the house is in this mode. E.g. when my vacuum robot starts cleaning, it turns on input_boolean.cleaning_mode and when it finishes cleaning it turns off the input_boolean. My motion light automations have a condition to only run when cleaning_mode is not on.
Youāve made my point. Before your actual request can even be implemented, scenes will first need to change their fundamental behavior. Everyone is free to ask for anything, here in the Feature Requests section, but the likelihood of it being adopted is related to its feasibility. This one is a ābig askā.
You may wish to explore groups which already implement the behavior where the groupās state can reflect its membersā state (see Group Behavior).
all
(boolean)(Optional)
Set this to true if the group state should only turn on if all grouped entities are on.
Default value:
false