Add HVAC to demo

pull/2017/head
Paulus Schoutsen 2016-05-08 23:21:26 -07:00
parent 09483e3be4
commit 20dad9f194
2 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ COMPONENTS_WITH_DEMO_PLATFORM = [
'camera',
'device_tracker',
'garage_door',
'hvac',
'light',
'lock',
'media_player',

View File

@ -457,12 +457,12 @@ class HvacDevice(Entity):
@property
def min_temp(self):
"""Return the minimum temperature."""
return self._convert_for_display(7)
return convert(7, TEMP_CELCIUS, self.unit_of_measurement)
@property
def max_temp(self):
"""Return the maximum temperature."""
return self._convert_for_display(35)
return convert(35, TEMP_CELCIUS, self.unit_of_measurement)
@property
def min_humidity(self):