|
发表于 2021-2-20 15:39:15
|
显示全部楼层
杜亚m1窗帘报错,请大佬帮忙看一下
[2938591360] 'open'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 136, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1455, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1490, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 595, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 632, in _handle_entity_call
await result
File "/config/custom_components/xiaomi_miot_raw/cover.py", line 187, in async_open_cover
result = await self.set_property_new(self._did_prefix + "motor_control",self._ctrl_params['motor_control']['open'])
KeyError: 'open'
|
|