I have found some threads here and on Discord pointing people to use scripts instead of scenes for doing more complex stuff. However, I find the UI for setting up a set of entities very convenient, user friendly, and would make it easier to share scripts depending on desired states, independent of the entities.
Basic example: I have a group of lights, not all of them supporting the transition feature. For each light I would then want to apply the manual transition, or turn it on half way if its a switch.
My problem: I would like to read a desired state from either it being a scene parameter as desired_state, or something similarly named, accessible by a script. I do define a desired state in the scene UI, so I imagine the config is there somewhere!
It would make the script more dynamic by separating “variables” and the execution.
Proposed solution
Expose the configured entity parameters on scene objects, available from scripts .
If this needs to be developed, I am happy to help, though I would like some pointers in the right direction on how to achieve this.
Thanks in advance, have a great day!