Closed jvera999 closed 4 years ago
I changed the file_restore file and removed the empty line but the problem continues. Thanks
One more thing: it tries twice to turn off the switch every time.
2020-05-10 22:49:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 22:49:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off
Ciao,
I've tried to set a fix to this checking the status of the device before performing an action. Try to install this and let me know if this solve and if it works also for you. :) https://github.com/custom-components/climate.programmable_thermostat/releases/tag/6.1
Hello! I really like this component.
I replaced two generic thermostats with this one in a few minutes and i worked fine throught the night.
It is controlling an split Air Conditioner with heat & cool support, and configured to keep the room temperature to 23° C all day.
In the morning I noticed the beep of th AC keep sounding and turned off the component. But a few minutes later the beeps started again and keep ocurring, even while the component is off.
Bellow there are logs from the starting point and later when it stared to fail. I'm using the YAML configuration and the sensor from your file_restore component. Both configurations are below.
2020-05-10 01:00:51 INFO (MainThread) [custom_components.programmable_thermostat] 2020-05-10 01:00:51 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] Setup entity coming from configuration.yaml named: Termostato Dormitorio 2020-05-10 01:00:52 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio old state: <state climate.termostato_dormitorio=heat_cool ; current_temperature=23.1, friendly_name=Termostato Dormitorio, hvac_action=off, hvac_modes=['off', 'heat', 'cool', 'heat_cool'], max_temp=30.0, min_temp=17.0, supported_featur es=1, target_temp_step=1, temperature=23.0 @ 2020-05-10T00:58:55.158831-03:00> 2020-05-10 01:01:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode 2020-05-10 01:01:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Obtained current and target temperature. Generic thermo stat active. 23.1, 23.0 2020-05-10 01:01:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in cooling mode 2020-05-10 01:07:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode 2020-05-10 01:07:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in cooling mode 2020-05-10 01:08:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode
...
2020-05-10 10:24:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode 2020-05-10 10:24:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in cooling mode 2020-05-10 10:26:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode 2020-05-10 10:26:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action heating 2020-05-10 10:26:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in cooling mode 2020-05-10 10:28:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in heating mode 2020-05-10 10:28:49 DEBUG (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - Entered here in cooling mode 2020-05-10 10:31:46 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:31:46 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:32:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:32:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:35:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:35:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:38:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:38:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:39:44 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:39:44 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:42:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:42:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:46:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:46:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:49:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:49:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:50:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:50:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:51:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:51:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:52:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:52:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:56:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:56:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:57:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 10:57:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 11:00:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off 2020-05-10 11:00:49 INFO (MainThread) [custom_components.programmable_thermostat.climate] climate.Termostato Dormitorio - new action off
And so it goes.
Configuration (yaml):
target_temp_sensor is a csv file:
sensor:
(homeassistant) homeassistant@hasspi:/config $ cat thermostat-temps.txt
23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23 (homeassistant) homeassistant@hasspi:/config $
(I just found it has an empty line before the actual values, can this be related?).
Thank you!
Juan