소스 검색

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
     def device_info(self):
         """Return the device information for this device."""
-        if (self.type
         return {
             "identifiers": {(DOMAIN, self.unique_id)},
             "name": self.name,