Closed T3chArmy closed 6 months ago
I'm seeing the same thing after a restart although I'm seeing a different message in the logs:
2024-05-08 09:27:46.054 WARNING (MainThread) [custom_components.dual_smart_thermostat.managers.temperature_manager] Undefined target temperature range, falled back to 7-7-35
Config:
- platform: dual_smart_thermostat
name: living_room
heater: switch.heater
cooler: switch.ac
target_sensor: sensor.temperature_living_room
heat_cool_mode: true
cold_tolerance: 0.3
hot_tolerance: 0.6
precision: 0.1
target_temp_step: 0.5
Let me know if these are two different issues so I don't hijack this one :-)
@FredericMa It's not an issue because there is no configured temperature range in your config. But I guess the thermostat should have been restored to the last used target temperatures.
Correct, I expected the previous targets to be restored instead of the warning. This has always worked fine before.
Please check v0.9.6.beta-8
~~I've tested it and restarted twice.
First time it went fine, the second time (30 seconds later) it failed.
I see this warning again in the log:
2024-05-08 18:44:19.711 WARNING (MainThread) [custom_components.dual_smart_thermostat.managers.temperature_manager] Undefined target temperature range, falled back to 7-7-35
~~
Update: Ignore the above, although I selected beta 8 in HACS is installed beta 7. Now I've updated to beta 8 and it works like a charm! Thanks a lot!
Defaults to my min and max range of thermostat. This error also gets thrown. I'm guessing there is an issue restoring settings correctly at startup.
Here's my config:
If HA is restarted in Preset None, then temperatures are restored correctly.