Просмотр исходного кода

Grammer correction in Warning message.

Jason Rumney 4 лет назад
Родитель
Сommit
2bf7b4fd34
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/helpers/device_config.py

+ 2 - 2
custom_components/tuya_local/helpers/device_config.py

@@ -160,8 +160,8 @@ class TuyaEntityConfig:
             "deprecated", "nothing, this warning has been raised in error"
         )
         return (
-            f"The use of {self.entity} for {self._device.name} is"
-            f"deprecated and should be replaced by {replacement}"
+            f"The use of {self.entity} for {self._device.name} is "
+            f"deprecated and should be replaced by {replacement}."
         )
 
     @property