def update(self):
self._controller.update(self._id, wake_if_asleep=False)<EOL>data = self._controller.get_climate_params(self._id)<EOL>if data:<EOL><INDENT>self.__inside_temp = (data['<STR_LIT>'] if data['<STR_LIT>']<EOL>else self.__inside_temp)<EOL>self.__outside_temp = (data['<STR_LIT>'] if data['<STR_LIT>']<EOL>else self.__outside_temp)<EOL><DEDENT>
Update the temperature.