core/homeassistant/components/thermostat
Josh Wright 29fb6faa40 Use whole degrees fahrenheit for thermostats
Users of fahrenheit generally expect to see whole degrees. The fahreneit

scale is suffiently precise that decimals aren't really useful in terms

of temperatures humans care about.



This change rounds fahrenheit values to whole degrees and celsius values

to one decimal place. It also renames the ThermostatDevice._convert()

method to _convert_for_display(), making its purpose more clear. It is

not useful for the min_temp() and max_temp() methods, as those relate to

the internal state of the ThermostatDevice object, and may use different

units. Adding optional source and target units to _convert() would have

added needless complexity, it's cleaner to just use convert() in those

methods.
2016-04-06 11:54:50 -07:00
..
__init__.py Use whole degrees fahrenheit for thermostats 2016-04-06 11:54:50 -07:00
demo.py Log error for servicecall without required data 2016-03-19 08:06:57 +01:00
ecobee.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
heat_control.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
heatmiser.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
homematic.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
honeywell.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
nest.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
proliphix.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
radiotherm.py Fix PEP257 issues 2016-03-07 22:44:35 +01:00
services.yaml thermostat: add service to control fan mode 2016-01-24 12:47:21 -06:00
zwave.py Add Z-Wave thermostat 2016-04-02 20:01:03 -07:00