Jason Rumney 4 лет назад
Родитель
Сommit
dcaf42c723
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      custom_components/tuya_local/generic/climate.py

+ 3 - 3
custom_components/tuya_local/generic/climate.py

@@ -375,20 +375,20 @@ class TuyaLocalClimate(ClimateEntity):
 
 
     @property
     @property
     def fan_mode(self):
     def fan_mode(self):
-        """Return the current swing mode."""
+        """Return the current fan mode."""
         if self._fan_mode_dps is None:
         if self._fan_mode_dps is None:
             raise NotImplementedError()
             raise NotImplementedError()
         return self._fan_mode_dps.get_value(self._device)
         return self._fan_mode_dps.get_value(self._device)
 
 
     @property
     @property
     def fan_modes(self):
     def fan_modes(self):
-        """Return the list of swing modes that this device supports."""
+        """Return the list of fan modes that this device supports."""
         if self._fan_mode_dps is None:
         if self._fan_mode_dps is None:
             return None
             return None
         return self._fan_mode_dps.values(self._device)
         return self._fan_mode_dps.values(self._device)
 
 
     async def async_set_fan_mode(self, fan_mode):
     async def async_set_fan_mode(self, fan_mode):
-        """Set the preset mode."""
+        """Set the fan mode."""
         if self._fan_mode_dps is None:
         if self._fan_mode_dps is None:
             raise NotImplementedError()
             raise NotImplementedError()
         await self._fan_mode_dps.async_set_value(self._device, fan_mode)
         await self._fan_mode_dps.async_set_value(self._device, fan_mode)