A way to select a dynamically created scene within other scene targets #1858
Unanswered
noswanson1982
asked this question in
Other UI enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
I would like a way to be able to select a dynamically created scene from within the UI. Currently, I can use scene.create and create a scene within a script or automation. So far, so good. However, trying to find the scene in future actions (scene.activate, scene.apply, scene.delete, etc) from within targets, is not doable. This requires switching to YAML and adding entity_id to the data: tag and manually typing in the dynamically created scene.
This is less than ideal. It works, yeah. But it could be done easier.
For instance, target IDs when they are created are easily able to be selected with checkboxes from within conditions. My suggestion recommends a similar idea for dynamically created scenes from within the same script / automation. And if not via checkbox, have it appear at the top of the targets menu from within the target box when trying to activate or apply or delete the scene. As it was created from within the script/automation, in a lot of cases, it is also used from within the same script/automation.
Use cases
I created an alert light that blinks the light a specific color when someone walks near a motion sensor outside. However, I have it so the script captures the current state of the light, blinks a different color, waits 1 second, and proceeds to do this about 3 times before finally restoring the previous state of the light and then deletes that scene when it is done (as a clean-up measure). I feel the process could have been simplified by making the scene I created to capture the current state of the light easily available when I applied and deleted the scene.
Visual examples
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions