thomasloven / hass-favicon

🔹 Change the favicon of your Home Assistant instance
MIT License
106 stars 19 forks source link

Home Assistant 2024.9 compatibility (async_update_entry) #37

Open nickolay opened 2 months ago

nickolay commented 2 months ago

I've just installed this on 2024.7.4 and it works, but there's a warning:

Logger: homeassistant.helpers.frame Source: helpers/frame.py:184

Detected that custom integration 'favicon' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/favicon/__init__.py, line 44: config_entry.options = config_entry.data, please report it to the author of the 'favicon' custom integration

https://developers.home-assistant.io/blog/2024/02/12/async_update_entry/

Just a heads-up.

nkkm888 commented 1 month ago

same here: WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'favicon' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/favicon/init.py, line 44: config_entry.options = config_entry.data, please report it to the author of the 'favicon' custom integration