Logger: homeassistant.components.light
Source: components/opple/light.py:63
Integration: 灯光 (documentation, issues)
First occurred: 22:04:12 (1 occurrences)
Last logged: 22:04:12
Error while setting up opple platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/opple/light.py", line 47, in setup_platform
entity = OppleLight(name, host)
File "/usr/src/homeassistant/homeassistant/components/opple/light.py", line 63, in __init__
self._device = OppleLightDevice(host)
File "/usr/local/lib/python3.10/site-packages/pyoppleio/OppleLightDevice.py", line 12, in __init__
super().__init__(ip, message)
File "/usr/local/lib/python3.10/site-packages/pyoppleio/OppleDevice.py", line 30, in __init__
self.async_init()
File "/usr/local/lib/python3.10/site-packages/pyoppleio/OppleDevice.py", line 48, in async_init
message = self.send('SEARCH', reply=True)
File "/usr/local/lib/python3.10/site-packages/pyoppleio/OppleDevice.py", line 53, in send
message = Message.build_message(MESSAGE_TYPE[message_type], data, self)
File "/usr/local/lib/python3.10/site-packages/pyoppleio/Message.py", line 87, in build_message
message.set_checksum()
File "/usr/local/lib/python3.10/site-packages/pyoppleio/Message.py", line 33, in set_checksum
crc = crc16.crc16xmodem(bytes(self.data[0x64:]))
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats