Generic thermostat tolerance improvement (#1506)

This commit is contained in:
Lewis Juggins 2016-11-27 17:52:24 +00:00 committed by Fabian Affolter
parent f2ae78ac01
commit 17419d5853

View File

@ -34,6 +34,7 @@ Configuration variables:
- **target_temp** (*Optional*): Set intital target temperature. Failure to set this variable will result in target temperature being set to null on startup. - **target_temp** (*Optional*): Set intital target temperature. Failure to set this variable will result in target temperature being set to null on startup.
- **ac_mode** (*Optional*): Set the switch specified in the *heater* option to be treated as a cooling device instead of a heating device. - **ac_mode** (*Optional*): Set the switch specified in the *heater* option to be treated as a cooling device instead of a heating device.
- **min_cycle_duration** (*Optional*): Set a minimum amount of time that the switch specified in the *heater* option must be in it's current state prior to being switched either off or on. - **min_cycle_duration** (*Optional*): Set a minimum amount of time that the switch specified in the *heater* option must be in it's current state prior to being switched either off or on.
- **tolerance** (*Optional*): Set a minimum amount of temperature change that the sensor specified in the *target_sensor* option must change prior to being switched either off or on.
A full configuration example looks like the one below. `min_cycle_duration` must contains at least one of the following entries: `days:`, `hours:`, `minutes:`, `seconds:` or `milliseconds:`. A full configuration example looks like the one below. `min_cycle_duration` must contains at least one of the following entries: `days:`, `hours:`, `minutes:`, `seconds:` or `milliseconds:`.
@ -47,6 +48,7 @@ climate:
min_temp: 15 min_temp: 15
max_temp: 21 max_temp: 21
target_temp: 17 target_temp: 17
tolerance: 0.3
min_cycle_duration: min_cycle_duration:
seconds: 5 seconds: 5
``` ```