Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装HAVCS后重启报错 #56

Open
pisice opened this issue Jul 18, 2023 · 0 comments
Open

安装HAVCS后重启报错 #56

pisice opened this issue Jul 18, 2023 · 0 comments

Comments

@pisice
Copy link

pisice commented Jul 18, 2023

async_get() missing 1 required positional argument: 'hass'

日志详细信息( ERROR )
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/havcs/helper.py:265
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:35:08 (5 occurrences)
Last logged: 10:51:40

[140581625919632] async_get() missing 1 required positional argument: 'hass'
[140581835027408] async_get() missing 1 required positional argument: 'hass'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 930, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/init.py", line 339, in async_handle_reload_all
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File "/config/custom_components/havcs/init.py", line 653, in async_handler_service
await hass.data[DOMAIN][DATA_HAVCS_HANDLER][platform].vcdm.async_reregister_devices(hass)
File "/config/custom_components/havcs/helper.py", line 265, in async_reregister_devices
device_registry = await hass.helpers.device_registry.async_get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: async_get() missing 1 required positional argument: 'hass'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant