simple-thermostat icon indicating copy to clipboard operation
simple-thermostat copied to clipboard

Custom element doesn't exist on kindle fire7

Open ukmgranger opened this issue 3 years ago • 6 comments

I've been using this addon for a while now on my Amazon Kindle Fire7. Been working great unti la couple of days ago. I now get the red box saying 'Custom element doesn't exist: simple-thermostat.'

This only happens on the kindle. I've tried rebooting. I also get the same behaviour using the android app and the 'Wallpanel' app.

Works fine on my other tablets / phones etc.

Any ideas?

ukmgranger avatar Apr 14 '21 10:04 ukmgranger

Most likely related to browser cache. If not, errors from the browser error log would be helpful

nervetattoo avatar Apr 14 '21 16:04 nervetattoo

Same here on Nexus 9, on the Android Companion App. So no browser cache issue probably. Cleared cache from the app with no succes. Browser on laptop and Android Companion App on Oneplus 7 Pro works fine. Problem occured after switching from manual installation to HACS for both the Toon component as this Simple Thermostat card.

Sundown89 avatar Apr 17 '21 20:04 Sundown89

same problem with companion app and phone browser, tried reinstall app but no luck

chikehe avatar Apr 19 '21 23:04 chikehe

Very strange because it seems to differ per device, at least in my case. Because it only appears to occur on the Android Companion App on a Nexus 9 tablet and not on Chrome browser on the same tablet and Android Companion Oneplus 7 Pro, I can't offer browser logs obviously. What information do we need to troubleshoot this?

I tried switching back to manual install from HACS and back, no success.

Edit: removed irrelevant logging.

Sundown89 avatar Apr 20 '21 08:04 Sundown89

Alright, I seemed to have solved it by updating Android System Webview. My Nexus 9 is running a custom ROM and it comes with an outdated Webview. Apparently the old version does not handle .js correctly. Installed the latest from Play Store and selected it through developer tools on my tablet.

I got this from https://community.home-assistant.io/t/wallpanel-wont-show-my-custom-cards/113243/13 and there are more threads on this, especially concerning Amazon Fire devices. That is why I not came across this earlier, as I was focused on my Nexus 9. But it seems related.

In this thread someone also mentions an Amazon Fire. So check it out @ukmgranger. Hope this helps.

Sundown89 avatar Apr 20 '21 19:04 Sundown89

I've the same issue when using the cast function to my Google Nest hub. The cast functionallity from HA gives the following afbeelding

adding this to my config does not fix the issue. Might the tip from HA help you looking for the cause @nervetattoo ?

gerthass avatar Jan 14 '22 22:01 gerthass