def __init__(self, data, thermostat_index, hold_temp):
        """Initialize the thermostat."""
        self.data = data
        self.thermostat_index = thermostat_index
        self.thermostat = self.data.ecobee.get_thermostat(
            self.thermostat_index)
        self._name = self.thermostat['name']
        self._away = self.thermostat['program']['currentClimateRef'] in 'away'
        self.hold_temp = hold_temp
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/ecobee.py/Thermostat.__init__/swapped operands of `in`