Logger: homeassistant.components.script.1671692982927
Source: custom_components/xiaomi_miot_raw/basic_dev_class.py:709
Integration: 脚本 (documentation, issues)
First occurred: 19:01:57 (1 occurrences)
Last logged: 19:01:57
平板开网: Error executing script. Unexpected error for call_service at pos 2: wait() got an unexpected keyword argument 'loop'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/core.py", line 1745, in async_call
task.result()
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/core.py", line 1782, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miot_raw/basic_dev_class.py", line 709, in async_service_handler
yield from asyncio.wait(update_tasks, loop=self.hass.loop)
TypeError: wait() got an unexpected keyword argument 'loop'
Home Assistant 2022.12.6 前端版本: 20221213.0 - latest 系统安装方式:core 调用服务:Xiaomi MIoT: speak_text 脚本内容: alias: 电视开网 sequence:
Logger: homeassistant.components.script.1671692982927 Source: custom_components/xiaomi_miot_raw/basic_dev_class.py:709 Integration: 脚本 (documentation, issues) First occurred: 19:01:57 (1 occurrences) Last logged: 19:01:57
平板开网: Error executing script. Unexpected error for call_service at pos 2: wait() got an unexpected keyword argument 'loop' Traceback (most recent call last): File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/script.py", line 451, in _async_step await getattr(self, handler)() File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/script.py", line 684, in _async_call_service_step await service_task File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/core.py", line 1745, in async_call task.result() File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/core.py", line 1782, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miot_raw/basic_dev_class.py", line 709, in async_service_handler yield from asyncio.wait(update_tasks, loop=self.hass.loop) TypeError: wait() got an unexpected keyword argument 'loop'