Hello!
Target: Remember ESPHome Thermostat state (preset, mode, target temperature) to return from another state.
I tried solve this target by scene.
First I created scene “before” with snapshot_entity thermostat.
Then I change mode of thermostat by automation. When time up I want to return old state of thermostat by scene on.
But: when “before” scene is loading I can see for little time old user’s target temperature and then target temperature is replacing by default from configuration file (default_target_temperature_low).
I tried scene creation from automation, tried manual scene create from GUI - only one result - mseconds old user’s target temperature on dashboard then replace by default.
I think scene on script at first do temperature, then change preset - of course preset will load default. Doesn’t matter what preset used before… home to home and back to home, away to home and back away - scene load default at end.
What can I do with this? How load only user’s temperature without load default?
Automation create:
action:
- service: scene.create
data:
snapshot_entities:
- climate.san_temp_vanna_thermostat
scene_id: nochnoi_progrev_1_before
Automation load
- service: scene.turn_on
data: {}
target:
entity_id: scene.nochnoi_progrev_1_before
I tried another switches or stats - its works fine. But thermostat not.