Skip to content

IKEA Tradfri massive log filling #146219

@Padparadscha

Description

@Padparadscha

The problem

I get HA crashed every day since a few days. Logfile gets over 20GB per day
errors like this
2025-06-05 19:10:40.970 ERROR (MainThread) [homeassistant.components.tradfri] Unexpected error fetching Update coordinator for <65558 - Decke 3 (TRADFRI bulb GU10 WS 400lm)> data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/tradfri/coordinator.py", line 88, in _async_update_data
cmd = self.device.observe(
callback=self._observe_update,
err_callback=self._exception_callback,
duration=0,
)
File "/usr/local/lib/python3.13/site-packages/pytradfri/resource.py", line 66, in observe
self.path,
^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pytradfri/device/init.py", line 57, in path
return [ROOT_DEVICES, self.id]
^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pytradfri/resource.py", line 26, in id
return cast(Union[str, None], self.raw.get(ATTR_ID))
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

What version of Home Assistant Core has the issue?

2025.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tradfri

Link to integration documentation on our website

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

Diagnostics information

home-assistant_tradfri_2025-06-05T17-11-57.238Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions