I was trying to set up an automation that involved looking at whether a certain scene was active or not - I have just read that this was removed from HA, some time ago, as it caused some issues.
Is there any way round this problem?
For example - say I have six scenes set up in my Living room. Is there anyway that I can output which of these states is active to another node that I can then use as current state?
I was thinking about a single node that I could attach to all my scenes to, to mark which scene was last activated. I could then use this node to check the current state.
I have one automation triggering most of the scenes (lighting, based on time of day) and have it run an additional action to set a input helper text entity.
(I also use a motion detection based automation to power everything off after 30 minutes - this also calls my “off” scene, and sets the same “current scene” text)
The current scene is configured as a condition - for instance: