-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Per my HA Log file:
2025-11-10 07:57:05.932 INFO (MainThread) [custom_components.solaredgeoptimizers.sensor] Done adding all optimizers. Now adding sensors, this may take some time!
2025-11-10 07:57:10.935 WARNING (MainThread) [homeassistant.helpers.frame]
Detected code that calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('solaredgeoptimizers', '2236417f8fed2f09c3c580c4e1fd6dc4'), with device info: {'hw_version': '155222EE-77', 'identifiers': {('solaredgeoptimizers', '155222EE-77')}, 'manufacturer': 'Hanwha Q.Cells GmbH', 'model': 'Q.PEAK DUO ML-G10+ 400', 'name': '1.1.1', 'via_device': ('solaredgeoptimizers', '2236417f8fed2f09c3c580c4e1fd6dc4')}.
This will stop working in Home Assistant 2025.12.0, please report this issue
Stack (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 229, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 215, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 271, 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/src/homeassistant/homeassistant/helpers/entity_platform.py", line 851, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 970, in async_get_or_create
report_usage(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 220, in report_usage
_report_usage_partial()
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 256, in _report_usage
_report_usage_no_integration(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 395, in _report_usage_no_integration
_LOGGER.warning(msg, stack_info=True)