mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
nest: implement fan control
This commit is contained in:
parent
df94c909f7
commit
881c82c2df
@ -147,6 +147,14 @@ class NestThermostat(ThermostatDevice):
|
||||
""" Returns whether the fan is on """
|
||||
return self.device.fan
|
||||
|
||||
def turn_fan_on(self):
|
||||
""" Turns fan on """
|
||||
self.device.fan = True
|
||||
|
||||
def turn_fan_off(self):
|
||||
""" Turns fan off """
|
||||
self.device.fan = False
|
||||
|
||||
@property
|
||||
def min_temp(self):
|
||||
""" Identifies min_temp in Nest API or defaults if not available. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user