#Updating Scene with values from another input

1 messages · Page 1 of 1 (latest)

crystal vortex
#

Hello, I have a number of scenes set up for my thermostat to set my house temperature and this works well. however I was hoping to have a slider on my dashboard that would set the target temperature in this scene so that as the weather changes, the scenes will use that temperature rather than a hardcoded value I'd have to update. Is this possible or do I have to create brand new scenes each time the target temperature is changed?

ocean pecan
#

You'll have to adapt this for your own use but I think this might help. This is what I use to start timers but set the duration based off of an input_number helper (which can be adjusted from the dashboard.)

#
data:
  duration: >-
    {{ states.input_number.automation_auto_bathroom_lights_duration.state |
    int(0)*60 }}
target:
  entity_id:
    - timer.automation_auto_bathroom_lights
action: timer.start