Not understood log entry

Hi all

This morning I saw the log entry below. I updated to 2026.6.1 yesterday.

Logger: py.warnings
Source: components/image/init.py:15
First occurred: 7 June 2026 at 10:21:42 (1 occurrence)
Last logged: 7 June 2026 at 10:21:42

/usr/local/lib/python3.14/site-packages/rich/segment.py:547: SyntaxWarning: 'return' in a 'finally' block return

I tried to trace this but on my HA Green the path /usr/local/lib has no such python directory.
Finally I used the find command and saw that the source only resides in custom integrations, but I got stuck again in tracing the culprit:

[core-ssh /]$ find / -name "__init__.py"
/homeassistant/custom_components/sems/__init__.py
/homeassistant/custom_components/hacs/__init__.py
/homeassistant/custom_components/hacs/utils/__init__.py
/homeassistant/custom_components/hacs/repositories/__init__.py
/homeassistant/custom_components/hacs/hacs_frontend/__init__.py
/homeassistant/custom_components/hacs/validate/__init__.py
/homeassistant/custom_components/hacs/websocket/__init__.py
[core-ssh /]$

Is it worth hunting down this message?

There has been an issue open for this for a few months:

Thanks. I guess python hit the pi limit. :thinking:

This is one of the things wrong with Home Assistant's Integration model. I don't use the Integration causing this (Sure Petcare) yet I still see the errors.

Same thing happens with add-ons / apps. Does not matter if you have an add-on installed or not - if there's something wrong with it you get the errors/warnings.