Open r15ch13 opened 4 years ago
Frosted effect is not working in Safari (Versie 13.1.2 (13609.3.5.1.5)) OSX 10.13.6 And its not working in de Home Assistant iOS App
For me its working with AndroidApp and of course Chrome. But Firefox didn't load it, too.
Same story here: Works in Chrome but not in Firefox...
Console output for me under FF:
TypeError: newWay is null
insertStyleRule http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:61
addCssToCard http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:49
promise callback*addCssToCard http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:49
injectPromises http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:11
<anonymous> http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:10
<anonymous> http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:98
kb-frosted-cards.js:50:31
addCssToCard http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:50
(Async: promise callback)
addCssToCard http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:50
injectPromises http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:11
<anonymous> http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:10
<anonymous> http://192.168.1.99:8123/hacsfiles/kb-frosted-cards/kb-frosted-cards.js:98
Bulletproof injection seems not bulletproof enough :grin:
Added a
console.log
toinsertStyleRule
to outputcard.getStyles()
HA: 0.118 Theme: Your theme Frosted: 1.3.1 installed via HACS (also tried beta 1.5.3)
Edit: It works in the HA Android app though. 😕