فهرست منبع

Water heater: typo in last change

Jason Rumney 2 سال پیش
والد
کامیت
1a765f6d4a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      custom_components/tuya_local/water_heater.py

+ 1 - 1
custom_components/tuya_local/water_heater.py

@@ -104,7 +104,7 @@ class TuyaLocalWaterHeater(TuyaLocalEntity, WaterHeaterEntity):
         # represented, not a number of decimal places.
         return 1.0 / max(
             self._temperature_dps.scale(self._device),
-            self._current_temperature_dps.scale(self._device) if self_current_tempereature_dps else 1.0,
+            self._current_temperature_dps.scale(self._device) if self.current_temperature_dps else 1.0,
         )
 
     @property