gazoscalvertos / Hass-Custom-Alarm

Yet another take on a home assistant custom alarm
221 stars 94 forks source link

iOS 11.2.6 - Alarm Panel Fails to Load #9

Closed Smoot178 closed 6 years ago

Smoot178 commented 6 years ago

In Safari and Chrome, when I load the alarm panel directly (http://hahost:8123/alarm), the page fails to load with just a spinning icon.

I can load all my other tabs on first try. If I switch to a different tab and then back to alarm it will load. I basically want a shortcut to load right into the alarm panel and this makes it so I can't do that.

Do you have an iPhone you can test with? Do you need any logs from me?

This process works fine for me on Android.

image

lostage commented 6 years ago

This seems to still be an issue, though switching tabs doesn’t seem to work in my case. Unfortunately I don’t have an android device to test with.

Great work so far though!

djeclemen commented 6 years ago

The error in the log is

2018-05-07 16:15:39 ERROR (MainThread) [frontend.js.es5.201804260] undefined:1:11 TypeError: Cannot call a class constructor without |new|

when trying to open the page from the iOS app or iOS browser

lostage commented 6 years ago

I can confirm that it worked by putting "latest" as my JS version in the config, even though the HA info panel said it was already using "latest".

frontend:
  javascript_version: latest
gazoscalvertos commented 6 years ago

resolved