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

fix(discovery): only advise reporting if the config is an exact match

The original wording just says to report it, and it is not obvious from the reports
for generic items like lightbulb that the product being reported is an exact
match for the config being used.

Add wording that the user should only report if it is an exact match.

Issue #5625
Jason Rumney 1 день назад
Родитель
Сommit
60cf8f90ce
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/helpers/discovery.py

+ 1 - 1
custom_components/tuya_local/helpers/discovery.py

@@ -220,7 +220,7 @@ class TuyaLANRediscovery:
         self._warned_products.add(device_id)
         _LOGGER.warning(
             "%s: device product id %s is not listed in its config (%s); "
-            "please report it so support can be improved",
+            "if your device is an exact match for the config please report it so support can be improved",
             entry.title,
             product_id,
             config_type,