mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
changed Venstar component temperature to half degree accuracy (#30034)
This commit is contained in:
parent
9c7caaa142
commit
d16011b849
@ -34,7 +34,7 @@ from homeassistant.const import (
|
||||
CONF_SSL,
|
||||
CONF_TIMEOUT,
|
||||
CONF_USERNAME,
|
||||
PRECISION_WHOLE,
|
||||
PRECISION_HALVES,
|
||||
STATE_ON,
|
||||
TEMP_CELSIUS,
|
||||
TEMP_FAHRENHEIT,
|
||||
@ -134,9 +134,9 @@ class VenstarThermostat(ClimateDevice):
|
||||
"""Return the precision of the system.
|
||||
|
||||
Venstar temperature values are passed back and forth in the
|
||||
API as whole degrees C or F.
|
||||
API in C or F, with half-degree accuracy.
|
||||
"""
|
||||
return PRECISION_WHOLE
|
||||
return PRECISION_HALVES
|
||||
|
||||
@property
|
||||
def temperature_unit(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user