Преглед изворни кода

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 година
родитељ
комит
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
     @property
     def device_info(self):
     def device_info(self):
         """Return the device information for this device."""
         """Return the device information for this device."""
-        if (self.type
         return {
         return {
             "identifiers": {(DOMAIN, self.unique_id)},
             "identifiers": {(DOMAIN, self.unique_id)},
             "name": self.name,
             "name": self.name,