|
Error while setting up broadlink_cover platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 231, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/broadlink_cover/cover.py", line 105, in async_setup_platform
broadlink_device.auth()
File "/usr/local/lib/python3.8/site-packages/broadlink/device.py", line 186, in auth
response = self.send_packet(0x65, payload)
File "/usr/local/lib/python3.8/site-packages/broadlink/device.py", line 267, in send_packet
packet[0x24:0x26] = self.devtype.to_bytes(2, "little")
AttributeError: 'NoneType' object has no attribute 'to_bytes'
|
|