Thanks again tom_l, I now have a reasonable understanding of input boolean in HA, which will hopefully help guide me through it when I need to use it again.
Not sure if author or @tom_l is still here?
I was looking for same solution, i’ve got it working ‘nearly’ well, except of few things…
I’ve got Thermostat and TRV, which i want to change both, so i’ve just added 2nd entity to store in scene, then revert it, but for some reason it is not storing or reverting my TRV values. I’ve tried it as 2nd entity in same scene and i’ve tried to add 2nd scene with different name to store only TRV value, but no joy so far…
2nd thing is, it is not switching my input_boolean.boost button off, i think a few things has changed in automation in last year, but i can’t solve that mystery…
- id: '1605910816208'
alias: Turn on boost
description: ''
trigger:
- platform: state
entity_id: input_boolean.boost
to: 'on'
condition: []
action:
- service: scene.create
data:
scene_id: before_boost
snapshot_entities:
- climate.thermostat
- climate.thermostat_3
- service: climate.set_temperature
data:
temperature: 25
entity_id: climate.thermostat
- service: climate.set_temperature
data:
temperature: 25
entity_id: climate.thermostat_3
mode: single
- id: '1605911655169'
alias: Turn off boost
description: ''
trigger:
- platform: state
entity_id: input_boolean.boost
to: 'off'
- platform: state
entity_id: input_boolean.boost
to: 'on'
for: '5'
condition: []
action:
- service: scene.turn_on
data: {}
entity_id: scene.before_boost
- service: input_boolean.turn_off
data: {}
entity_id: input_boolean.boost
mode: single
I’ve sorted helper button state, but it does not save or restore state of my TRV, however when i use call service to set temp via same method it does work…Any clues?