amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
127 stars 24 forks source link

Not shows on Hub Max when cast with show lovelace view service [BUG] #106

Open smarthomefamilyverrips opened 1 year ago

smarthomefamilyverrips commented 1 year ago

Describe the bug If I add the card to my dashboard it works fineshowing on browser, but it not show when casting to Google Hub Max using the lovelace view service, it just shows me the yaml text instead and get the following error message on top of the card

"Cannot read properties of null (reading 'other')"

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Seeing the card also on my Google Hub Max

Screenshots If applicable, add screenshots to help explain your problem. 1678191298108

Environment (please complete the following information):

Additional context Add any other context about the problem here.

amaximus commented 1 year ago

Is there a way to clear the caches on device that does the casting?

smarthomefamilyverrips commented 1 year ago

@amaximus You mean on the Nest Hub Max? I not know, what can try is turn it off and on

For HA I use a HA Blue Ondroid device, not think can do much there.

smarthomefamilyverrips commented 1 year ago

@amaximus I did try to restart my hub and hub max but did not help.... any suggestions?

amaximus commented 1 year ago

I'm not familiar with the Nest Hub Max, therefore I don't know what aspect might go wrong. From the error message it looks like some Javascript related error. It would help a lot in the invetigation if there were some console log possibility that showed the error with the line number (similar to the browser console log).