Hue icons not shown on first service: cast.show_lovelace_view
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
Describe the issue you are experiencing
When I cast a lovelace dashboard with the first service call cast.show_lovelace_view the hue icons missing from the dashboard.
I'm using the: https://github.com/arallsopp/hass-hue-icons
Describe the behavior you expected
The hue icons are shown the same as the default mdi icons
Steps to reproduce the issue
Experienced issue:
service: cast.show_lovelace_view
data:
entity_id: media_player.nest_keuken
view_path: hue-test
dashboard_path: lovelace-cast
With dashboard (light.keuken_dimmer has icon: hue:centura):
- title: hue-test
path: hue-test
badges: []
cards:
- type: button
name: Aan
show_name: true
entity: light.keuken_dimmer
- The button is shown without icon
Working scenario:
service: cast.show_lovelace_view
data:
entity_id: media_player.nest_keuken
view_path: <a_path_without_hue_icons>
dashboard_path: lovelace-cast
service: cast.show_lovelace_view
data:
entity_id: media_player.nest_keuken
view_path: hue-test
dashboard_path: lovelace-cast
With dashboard (light.keuken_dimmer has icon: hue:centura):
- title: hue-test
path: hue-test
badges: []
cards:
- type: button
name: Aan
show_name: true
entity: light.keuken_dimmer
- The button is shown with the hue icon
What version of Home Assistant Core has the issue?
core-2021.12.8
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Nest Hub v2
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
Is the hue icons js correctly embedded? I had a similar problem before including the js like the documentation of your linked repository says:
frontend:
extra_module_url:
- /hacsfiles/hass-hue-icons/hass-hue-icons.js
Is the hue icons js correctly embedded? I had a similar problem before including the js like the documentation of your linked repository says:
frontend: extra_module_url: - /hacsfiles/hass-hue-icons/hass-hue-icons.js
Yes I have also included that in the configuration. So that's not the cause of the problem.
I just wanted to add that I had this same issue, and adding the extra_module_url value to my configuration.yaml fixed the issue for me. Thanks for that note. EDIT: My issue was with the menu header in the browser, not with casting. So, different problem - my bad. Still - thanks.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Dear bot, keep it open.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Dear bot, keep it open.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.