Logger: homeassistant.components.cover
Source: custom_components/mijia_curtain/cover.py:255
Integration: 卷帘 (documentation, issues)
First occurred: 13:19:10 (3 occurrences)
Last logged: 13:19:11
Error while setting up mijia_curtain platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/mijia_curtain/cover.py", line 159, in setup_platform
cover = MijiaCurtain(name, host, token, model)
File "/config/custom_components/mijia_curtain/cover.py", line 255, in init
self.miotDevice = MiotDevice(ip=host, token=token)
File "/usr/local/lib/python3.9/site-packages/miio/miot_device.py", line 50, in init
raise DeviceException(
miio.exceptions.DeviceException: Neither the class nor the parameter defines the mapping
Logger: homeassistant.components.cover Source: custom_components/mijia_curtain/cover.py:255 Integration: 卷帘 (documentation, issues) First occurred: 13:19:10 (3 occurrences) Last logged: 13:19:11
Error while setting up mijia_curtain platform for cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/mijia_curtain/cover.py", line 159, in setup_platform cover = MijiaCurtain(name, host, token, model) File "/config/custom_components/mijia_curtain/cover.py", line 255, in init self.miotDevice = MiotDevice(ip=host, token=token) File "/usr/local/lib/python3.9/site-packages/miio/miot_device.py", line 50, in init raise DeviceException( miio.exceptions.DeviceException: Neither the class nor the parameter defines the mapping