Variable instead of slider


Color and brightness can only be set by a fixed value with the slider. Is there a way to pass variables directly. I would like to say “Ok Google, set something to 25”.


Yes, by following

  1. Create a variable in e.g. better logic (range 0-1)
  2. Define a flow that sets this variable to a specific value
  3. In the flow above, draw the tag of this variable over the set brightness slider

The set relative brightness card is used for the relative change of brightness (e.g. increase brightness with 10%)