frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Hue icons not shown on first service: cast.show_lovelace_view

Open pascalwinters opened this issue 3 years ago • 5 comments

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
  1. 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
  1. 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

pascalwinters avatar Jan 07 '22 18:01 pascalwinters

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

eikowagenknecht avatar Jan 21 '22 14:01 eikowagenknecht

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.

pascalwinters avatar Jan 21 '22 17:01 pascalwinters

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.

sstratoti avatar Jun 05 '22 01:06 sstratoti

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.

github-actions[bot] avatar Sep 16 '22 22:09 github-actions[bot]

Dear bot, keep it open.

pascalwinters avatar Sep 17 '22 05:09 pascalwinters

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.

github-actions[bot] avatar Nov 23 '23 20:11 github-actions[bot]

Dear bot, keep it open.

pascalwinters avatar Nov 24 '23 06:11 pascalwinters

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.

github-actions[bot] avatar Feb 22 '24 08:02 github-actions[bot]