'Get the latest state from the thermostat.'

def update(self):

    if self.update_without_throttle:
        self.data.update(no_throttle=True)
        self.update_without_throttle = False
    else:
        self.data.update()
    self.thermostat = self.data.ecobee.get_thermostat(self.thermostat_index)
