4
0
Эх сурвалжийг харах

Merge branch 'master' of github.com:nikrolls/homeassistant-goldair-climate

Nik Rolls 5 жил өмнө
parent
commit
eabf4ca15b

+ 0 - 0
custom_components/__init__.py


+ 4 - 1
custom_components/goldair_climate/dehumidifier/climate.py

@@ -258,7 +258,10 @@ class GoldairDehumidifier(ClimateDevice):
     @property
     def tank_full_or_missing(self):
         error = self._device.get_property(PROPERTY_TO_DPS_ID[ATTR_ERROR])
-        return error == ERROR_TANK
+        return (
+            GoldairTuyaDevice.get_key_for_value(ERROR_CODE_TO_DPS_CODE, error)
+            == ERROR_TANK
+        )
 
     @property
     def defrosting(self):