andrey-git / home-assistant-custom-ui

Custom UI elements for https://home-assistant.io
https://home-assistant.io
MIT License
526 stars 97 forks source link

Custom-ui not working on HA 0.93.0 #172

Closed sendorm closed 5 years ago

sendorm commented 5 years ago

Checklist

Browser + Version: Opera 60.0.

CustomUI version: Release 2019-03-24

Home Assistant release (hass --version): 0.93.0

The custom-ui just disappeared from HASS after updating to 0.93.0.

networkpotato commented 5 years ago

Same problem here

stepanov1975 commented 5 years ago

Same problem

Mariusthvdb commented 5 years ago

Haven’t updated yet because feared this could related? https://github.com/home-assistant/home-assistant/pull/23618

sendorm commented 5 years ago

@Mariusthvdb I also think that the problem is related to js detection breaking change. Suprisingly custom-ui still works fine with ios.

networkpotato commented 5 years ago

@Mariusthvdb I also think that the problem is related to js detection breaking change. Suprisingly custom-ui still works fine with ios.

Also works in my iOS app!

Mariusthvdb commented 5 years ago

you might be lucky using option 1.1? https://github.com/andrey-git/home-assistant-custom-ui/blob/master/docs/activating.md

using:

customizer:
  custom_ui: local

please try, and let us know?

btw is this on Lovelace only, or also in regular/legacy HA using states

rccoleman commented 5 years ago

I'm seeing the same thing - works in the iOS app, doesn't work in a browser on the desktop - and I just "converted" to 1.1 with no change in behavior. I had additional extra_ lines in frontend: and commented them out.

sendorm commented 5 years ago

Yes I am already on option 1.1. Tested it on lovelace only. Works on ios but not on any desktop browser. I remember, setting the

frontend:
  javascript_version: latest

to make custom-ui work long time ago (pre 0.88 probably not sure) This option is no longer available in HA.

Mariusthvdb commented 5 years ago

so is this it? Regular/Legacy HA got killed in 1 strike, without any fair notice or discussion? And why even, why not let people still using regular HA have their Instance use these extra_html extensions? at least for some transition time. there are few more cards that won't work now, not only custom-ui is heavily used. Cant believe this is happening....

Hope we are wrong and these extra-html cards can somehow still be used in non-Lovelace.

sendorm commented 5 years ago

I am pretty sure @andrey-git will find a solution to this. Fingers crossed. Don’t lose your hopes yet :)

Mariusthvdb commented 5 years ago

hope so too, though he hasn't been around for quite some time... also, not only custom-ui will be affected, but several other heavily uses custom cards in HA. Tiles, weather cards, to name but a few, that are loaded via frontend...

andrey-git commented 5 years ago

I released new CustomUI version 2019-05-18. Everything seems to work in Chrome.

Note that since backend-detection of modern-vs-old was dropped - you can no longer use my CustomUI (or any Polymer based custom ui for that matter) on both new and old browsers.

JAAlperin commented 5 years ago

andrey-git

Thanks for the new release.

Two questions, please: You've marked it for 94+. Did you mean 93+, or is there a 94b coming? You say "can no longer use my CustomUI on both new and old browsers." Do you mean it can be used on one or the other, or that it cannot be used at all?

sendorm commented 5 years ago

Tested on opera browser. Everything works fine, thank you @andrey-git .

networkpotato commented 5 years ago

Replaced the two files in www/custom-ui with the new ones, still not working. And now it stopped working on iOS too....

rccoleman commented 5 years ago

Try running the included update.sh. Working for me in 0.93.1.

x99percent commented 5 years ago

Working for me in Chrome on Windows, but not on Android.

EDIT: Updating to 0.94.x fixed mobile.

Mariusthvdb commented 5 years ago

just updated to 94.3, but don't see anything not working just yet, and havent upgraded the custom-ui...

what exactly was causing issues, needing an update to the custom-ui?