Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
dc14c52a78
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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,