From 881c82c2df42628413c7a55825e5d79d726fe879 Mon Sep 17 00:00:00 2001 From: Michael Auchter Date: Mon, 11 Jan 2016 19:24:27 -0600 Subject: [PATCH] nest: implement fan control --- homeassistant/components/thermostat/nest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/homeassistant/components/thermostat/nest.py b/homeassistant/components/thermostat/nest.py index 88a7761cb28..e0e1f74cdbc 100644 --- a/homeassistant/components/thermostat/nest.py +++ b/homeassistant/components/thermostat/nest.py @@ -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. """