Is there a way to test for the existence of a named entity (in particular a scene)?
The high level use case is I’m trying to use a template to construct a scene entity id using a input_select containing a theme name. If the computed scene exists, I want to activate the scene otherwise i just want to silently ignore.
The reason for doing this is that for each theme only some areas of the house will have a scene that should be activated - I.e. the exterior lights may be activated in some scenes but not others. The lighting in different areas of the house are activated at different times so I can’t just build one scene per theme.
Revisting this topic it looks like the HA logic has changed. The marked solution does not work anymore. The only working solution in my tests, which reliable states if an entity (a scene) exists is using the following template: