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

Remove partial attempt to dynamically determine manufacturer

Manfacturer is static, and I gave up on figuring out how to detect type here.
Part of the condition I had started writing did not get removed.
Jason Rumney 5 лет назад
Родитель
Сommit
dc14c52a78
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      custom_components/tuya_local/device.py

+ 0 - 1
custom_components/tuya_local/device.py

@@ -59,7 +59,6 @@ class TuyaLocalDevice(object):
     @property
     def device_info(self):
         """Return the device information for this device."""
-        if (self.type
         return {
             "identifiers": {(DOMAIN, self.unique_id)},
             "name": self.name,