From 17419d5853935420e7d325b36e12a8e8e5d103cf Mon Sep 17 00:00:00 2001 From: Lewis Juggins Date: Sun, 27 Nov 2016 17:52:24 +0000 Subject: [PATCH] Generic thermostat tolerance improvement (#1506) --- source/_components/climate.generic_thermostat.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/climate.generic_thermostat.markdown b/source/_components/climate.generic_thermostat.markdown index 8d008a6329a..8d6dcc8c958 100644 --- a/source/_components/climate.generic_thermostat.markdown +++ b/source/_components/climate.generic_thermostat.markdown @@ -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. - **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. +- **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:`. @@ -47,6 +48,7 @@ climate: min_temp: 15 max_temp: 21 target_temp: 17 + tolerance: 0.3 min_cycle_duration: seconds: 5 ```