Closed maia closed 11 months ago
It seems I cannot turn off window detection. My climate services keep switching from heat to off and back again due to false positives, see below. I will try to set the threshold much higher to prevent this, but actually it should be possible to turn window detection off from the config after it was turned on previously.
2023-11-11 22:24:43.294 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - End auto detection of open window slope=0.024
2023-11-11 22:25:12.035 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - Start auto detection of open window slope=-0.093
2023-11-11 22:43:41.281 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - End auto detection of open window slope=0.022
2023-11-11 22:43:58.137 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - Start auto detection of open window slope=-0.171
2023-11-11 22:57:31.871 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - End auto detection of open window slope=0.028
2023-11-11 22:57:54.274 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - Start auto detection of open window slope=-0.120
2023-11-11 23:27:54.401 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - End auto detection of open window slope=-0.120
2023-11-11 23:40:19.149 WARNING (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Schlafzimmer Heizung - Start auto detection of open window slope=-0.127
The solution to disable window detection is to delete all four values in the config panel (window sensor delay, temperature decrease threshold, temperature increase threshold, maximum duration). When one deletes all these values, you can even let the checkmark set at "Use window detection" in the first config panel but still it will be disabled.
I think if the checkbox is disabled in the first panel, the window detection should be disabled – no matter if values are configured like a threshold or a maximum time.
It looks like a bug in the config panel.
Added in release 4.2.0
I was using window detection for all my climate services, until today, when I turned them all off. Interestingly for most of the services the checkbox in the config "Use window detection" is checked again when re-opening the config. I've now opened all services 3 times, each time de-activated the window detection, clicked "submit" a couple of times and "finish" to save, but it's sticky, in more than half of the services the checkbox remains on.
Here's the config for one of the services in which I cannot turn off the window detection. Or maybe it's just a display and in reality it is turned off, just for some strange reason the checkbox is marked sometimes?