button-card icon indicating copy to clipboard operation
button-card copied to clipboard

Cast not working

Open SkywiperSolutions opened this issue 5 years ago • 1 comments

I get the dreaded red error "Custom element doesn't exist: button-card / type: 'custom:button-card' when casting to Google Nest Hub. Installed via HACS and located in /hacsfiles/button-card/button-card.js. Cast launched via script. Can anyone help on this issue?

SkywiperSolutions avatar Oct 08 '20 15:10 SkywiperSolutions

I've been randomly getting this issue on a Lovelace view for months. The view itself has not changed in over six months. Sometimes its fine for days, and then randomly, it stops working and I get the 'custom element doesn't exist'.

This component was installed via HACS. However, I've read that casting doesn't like the gzipd files it serves, so I've replaced the HACS entry in Resources for one that links to /local/. No matter if I have both or one in there, it works inconsistently - which makes absolutely zero sense to me. I have been unable to nail down the seemingly randomness of it.

Image of error: THPJZ4c .

flyize avatar Jan 18 '22 19:01 flyize