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.
@@ -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,