-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange error restoring "none" preset #3
Comments
I think I have pinpointed what triggers this problem. It happens if you remove target_temp in the configuration. I removed that line in an attempt to preseve the temp setting at restart. In the documenation of the generic thermostat this can be read: target_temp float (optional) I suspect It works fine to omit this variable as long as you have preset "none" set when HA restarts. But if you have any other mode active, this will trigger the fault. It was not 100% correct I had not changed anything. But obviously I did not try to restart HA in any other mode than 'none' when I made the change. That's why I thought everything was OK. If you specify target_temp, that value kicks in at restart if I have specified a different setting for 'eco' mode. I want to keep the setpoint in any mode. Othervise you need to adjust all setpoints after a restart. |
Now I've learned my problem is related to I tried to use "none" as a preset. That's not a good idea, since this triggers this problem I have described. If I just use the predefined presets, everything works as expected. I you set a temperature with preset 'none', you must have temperature defined in the device definition. And that value is used after a restart of HA. Make sense once you understand the behaviour. I think this should be mentioned in the documentation. |
Hello, Sorry this code is not maintained anymore, please consider to switch to the new one : https://github.com/dadge/awesome_thermostat Regards |
I have defined a few climate controllers based on the simple thermostat. It's great to be able to define different setpoints for different modes, even if I just use two modes right now ('none' and 'eco' mode). Everything worked fine a couple of days, but all of a sudden it is not possible to change from 'eco' to 'none'. The actual change of mode is done by a script but a manual change of mode also triggers the fault.
I believe the error occurs in the thermostate function when comparing the sensor value with the setpoint. It looks like the setpoint has got an illegal value, and this triggers the fault? I have 7 climate controllers and it seems like the fault appears in any of them.
I have no clue how to fix this error condition. Restart of HA does not help.
version
1.0.2
Configuration
Log:
The text was updated successfully, but these errors were encountered: