Skip to content

Fibaro integration error after 2025.4 upgrade #142105

Description

@royvanmanen

fibaro_jan25.zip

The problem

File "/usr/src/homeassistant/homeassistant/components/fibaro/init.py", line 368, in async_setup_entry
controller = await hass.async_add_executor_job(init_controller, entry.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/fibaro/init.py", line 359, in init_controller
return FibaroController(client, info, data[CONF_IMPORT_PLUGINS])
File "/usr/src/homeassistant/homeassistant/components/fibaro/init.py", line 101, in init
self._read_devices()
~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/components/fibaro/init.py", line 306, in _read_devices
if platform is None:
^^^^^^^^
UnboundLocalError: cannot access local variable 'platform' where it is not associated with a value

The bottom one is probably the cause of the issue

What version of Home Assistant Core has the issue?

2025.4

What was the last working version of Home Assistant Core?

2025.3x (previous version)

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Fibaro

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fibaro

Diagnostics information

home-assistant_fibaro_2025-04-02T20-16-49.295Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

For now "resolved" bij creating fibaro folder in /config/custom_components and putting older version of files in it. (see fibaro_jan25.zip)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions