def update(self): """Call the NetAtmo API to update the data.""" import lnetatmo self.thermostatdata = lnetatmo.ThermostatData(self.auth) self.target_temperature = self.thermostatdata.setpoint_temp self.setpoint_mode = self.thermostatdata.setpoint_mode self.current_temperature = self.thermostatdata.temp
def update(self): """Call the NetAtmo API to update the data.""" import lnetatmo self.thermostatdata = lnetatmo.ThermostatData(self.auth)