@property
    def fan(self):
        """Return the current fan state."""
        if 'fan' in self.thermostat['equipmentStatus']:
            return STATE_ON
        else:
            return STATE_OFF
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/ecobee.py/Thermostat.fan/original