Open pisice opened 1 year ago
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'
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'