def target_temperature(self):
        """Return the temperature we try to reach."""
        if self._prop_target_temp:
            val = round(self._prop_target_temp.from_device(self.device) or 0, 2)
            if val:
                self._prev_target_temp = val
            elif self._prev_target_temp:
                val = self._prev_target_temp
            return val
        return None
Return the temperature we try to reach.
custom_components/xiaomi_miot/water_heater.py