#Reading desired state from scene or scene config

1 messages · Page 1 of 1 (latest)

lofty skiff
#

Hi, all!

I have found some threads here pointing people to use scripts instead of scenes for doing more complex stuff. However, I find the UI for setting up a list of entities very convenient, user friendly, and would make it easier to share scripts depending on desired states.

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, accessable 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.

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!

normal sageBOT
#

If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.