Skip to content

Integration not start after HA 2025.9.0 #53

@matake31

Description

@matake31

It won't load after update to HA 2025.9.0.

This from my log.

2025-09-04 09:09:48.141 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Fronius for fronius_modbus
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fronius_modbus/init.py", line 45, in async_setup_entry
await entry.runtime_data.init_data()
File "/config/custom_components/fronius_modbus/hub.py", line 55, in wrapper
raise error
File "/config/custom_components/fronius_modbus/hub.py", line 49, in wrapper
result = await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fronius_modbus/hub.py", line 61, in init_data
await self._hass.async_add_executor_job(self.check_pymodbus_version)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fronius_modbus/hub.py", line 73, in check_pymodbus_version
raise Exception(f"pymodbus {version('pymodbus')} found, please update to {self.PYMODBUS_VERSION} or higher")
Exception: pymodbus 3.11.1 found, please update to 3.8.3 or higher

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions