-
-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the issue
After the update to 1.5.7 I am missing the Emma Active Power entity. The entity is missing since the update. I Use the modbus tcp connection to EMMA.
Describe your Huawei Solar Setup
Inverter Type: SUN2000-20K-MB001076373-006
Inverter Firmware version: V200R023C10SPC209
sDongle present: No
Power meter present: three phase / single phase / no
Optimizers Present: Yes
Battery: LUNA2000-SO 20kWh /
Battery Firmware version:
Huawei Solar integration version: 1.5.7
How do you connect to the inverter?
Please select your connection method
Upload your Diagnostics File
Drag & Drop your Diagnostics File here.
config_entry-huawei_solar-01K436EBD0JAMX9S3D7CPM2Q29.json
Upload your relevant debug logs
Logger: homeassistant.util.loop
Quelle: util/loop.py:137
Erstmals aufgetreten: 15:09:40 (3 Vorkommnisse)
Zuletzt protokolliert: 15:09:40
Detected blocking call to listdir with args ('/config/deps/lib/python3.13/site-packages',) inside the event loop by custom integration 'huawei_solar' at custom_components/huawei_solar/diagnostics.py, line 31: "pymodbus_version": version("pymodbus"), (offender: /usr/local/lib/python3.13/site-packages/importlib_metadata/__init__.py, line 817: return os.listdir(self.root or '.')), please create a bug report at https://github.com/wlcrs/huawei_solar/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#listdir Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 156, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 598, in start task = asyncio.Task(coro, loop=loop, eager_start=True) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle return await handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 41, in headers_middleware response = await handler(request) File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/usr/src/homeassistant/homeassistant/components/diagnostics/__init__.py", line 294, in get data = await info.config_entry_diagnostics(hass, config_entry) File "/config/custom_components/huawei_solar/diagnostics.py", line 31, in async_get_config_entry_diagnostics "pymodbus_version": version("pymodbus"),
Detected blocking call to read_text with args (PosixPath('/usr/local/lib/python3.13/site-packages/pymodbus-3.11.1.dist-info/METADATA'),) inside the event loop by custom integration 'huawei_solar' at custom_components/huawei_solar/diagnostics.py, line 31: "pymodbus_version": version("pymodbus"), (offender: /usr/local/lib/python3.13/site-packages/importlib_metadata/__init__.py, line 998: return self._path.joinpath(filename).read_text(encoding='utf-8')), please create a bug report at https://github.com/wlcrs/huawei_solar/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#read_text Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 156, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 598, in start task = asyncio.Task(coro, loop=loop, eager_start=True) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle return await handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 41, in headers_middleware response = await handler(request) File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/usr/src/homeassistant/homeassistant/components/diagnostics/__init__.py", line 294, in get data = await info.config_entry_diagnostics(hass, config_entry) File "/config/custom_components/huawei_solar/diagnostics.py", line 31, in async_get_config_entry_diagnostics "pymodbus_version": version("pymodbus"),
Detected blocking call to open with args (PosixPath('/usr/local/lib/python3.13/site-packages/pymodbus-3.11.1.dist-info/METADATA'),) inside the event loop by custom integration 'huawei_solar' at custom_components/huawei_solar/diagnostics.py, line 31: "pymodbus_version": version("pymodbus"), (offender: /usr/local/lib/python3.13/pathlib/_abc.py, line 632: with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f:), please create a bug report at https://github.com/wlcrs/huawei_solar/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 156, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 598, in start task = asyncio.Task(coro, loop=loop, eager_start=True) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle return await handler(request) File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 41, in headers_middleware response = await handler(request) File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/usr/src/homeassistant/homeassistant/components/diagnostics/__init__.py", line 294, in get data = await info.config_entry_diagnostics(hass, config_entry) File "/config/custom_components/huawei_solar/diagnostics.py", line 31, in async_get_config_entry_diagnostics "pymodbus_version": version("pymodbus"),
Please confirm the following:
- I'm running the latest release of Home Assistant.
- I'm running the latest release of this integration.
- I did not find an existing issue describing this problem.
- I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
- I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working