thomasloven / hass-favicon

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

Does this integration still work correclty with HA 2023.10? #31

Closed shalak closed 11 months ago

shalak commented 11 months ago

I've recently installed this component, and while I was able to configure the title successfully, I've observed a minor delay - when I open HA in a browser, the title initially reads "Dashboard - Home Assistant" for a brief moment before switching to my configured value.

However, despite configuring the path to /local/favicons, the favicon doesn't appear as expected. I've tried clearing the browser cache, testing in incognito mode, and other common troubleshooting steps, with no success.

Here's a snapshot of related directory structure:

[core-ssh config]$ find /root/config/ -name 'favicon*'
/root/config/www/favicons
/root/config/www/favicons/favicon.ico
/root/config/www/favicons/favicon-512x512.png
/root/config/www/favicons/favicon-192x192.png
/root/config/www/favicons/favicon-1024x1024.png
/root/config/custom_components/favicon

When accessing the favicons directly through their URLs, they display correctly:

The HA logs report the following error:

This error originated from a custom integration.

Logger: custom_components.favicon.config_flow
Source: custom_components/favicon/config_flow.py:45
Integration: Favicon changer (documentation)
First occurred: 00:52:43 (1 occurrences)
Last logged: 00:52:43

{'title': 'MY_TITLE', 'icon_path': '/local/favicons/'}

Any guidance on what I might be missing would be greatly appreciated.

shalak commented 11 months ago

I have no idea why, but on web, after some time it started to work correctly. Must've been the case of one of the two hard things in computer science.

I still have the old icon of the companion app on Android, though...

thomasloven commented 11 months ago

In 11 cases of 10 (+/- 2) one of those two is the cause of any problem with favicons.