-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old Safari Browser Show only Config Text #243
Comments
PS: on my Mac and the other 3 iPads with iPad OS 15 and 17, its works perfect with Same Dashboard |
Running into the same issue with iPad OS 12.5.7. Rollback to 1.1 works well. |
interesting. i don't have an ipad to reproduce. can someone provide the developer console logs? |
Explain me briefly how and I will do it |
companion app sidebar -> settings -> companion app -> debugging -> export log files |
2023-10-14 18:20:20.352 [Info] > Rotated file /private/var/mobile/Containers/Shared/AppGroup/8BC87D77-7017-45ED-BCD0-E86854810A77/logs/Home Assistant.txt to /private/var/mobile/Containers/Shared/AppGroup/8BC87D77-7017-45ED-BCD0-E86854810A77/logs/Home Assistant_2023-10-14_182020.txt |
I hope it helps you. It is only an excerpt that is repeated again and again |
I second the error on the lenovo smartclock. old webkit there. went from missing forecast icons to fail to render colock. |
i unfortunately don't see any error message related to clock-weather-card :( |
Same here, the Lenovo smart clock is becoming more & more useless with every Hass/HACS update if the older webkits are not going to be supported anymore :( |
I have the same issue for weeks with old iPad. The wallpanel dev managed to add backwards compatibility as that one also adopted the new webkit and broke everything. Now wallpanel works, somehow he added backwards compatibility. |
Same problem here on Tizen browser of Samsung Family Hub tablet. Rolled back to 2.1.0, latest working. |
Hey, I'm here because @skydado reported similar issue with my card maxwroc/battery-state-card#596 It would be quite hard to track down what has caused the issue on my side as there was a lot of changes in the cards code. But here in your case the changes were not that significant and by looking at the last version which @skydado claims to work and changes made to the next one I see one common change which happened in both cards Diff: 2.1.0...2.1.1 Lit upgrade to v3! If you don't use any new features from [email protected] I suggest to downgrade - I'll be doing the same I think. Would be good to have the confirmation whether this helps In lit v3 they claim that they have dropped the support for IE11 but looks like old Safari is affected too Edit: I have realized now that this bug was created for version 2.0 so most probably these (original issue reported and skydado's problem) are two separate issues. Although there were some lit package bumps as well (between 1.X and 2.0) |
I hacked / rooted my smartclock to install new webkit, solving the problem. |
True. Eventually we will see Lit upgrade on HA Frontend and then the entire dashboard will fail to render. Although for now HA team decided to hold on with Lit v3 upgrade as there is too many breaking changes and they want to focus on different (more urgent/useful) stuff. Currently Lit version in HA is pinned to 2.8.0. I think it is reasonable to ask devs who work on cards to downgrade for now - to just buy some time for people who cannot hack their devices (Fridges / TVs etc). Maybe in the meantime companies (like Samsung/Lenovo) decide to release the browser update. |
@polygon242 Can you provide some pointers on how to do this? I’m suffering from multiple issues due to the old WebKit on the Lenovo smart clock. Thanks! |
@pkissling hope you can roll-back to Lit v3 as @maxwroc did for his battery-state-card, otherwise I (and some/many other users) should stick at your v2.1.0 version |
just published beta 2.1.4 with lit downgraded from v3 to v2. can you please check if this solves the issues on your side? |
I confirm that it works on my Tizen browser! Thanks! |
The beta is not working on my Lenovo smart clock |
@pkissling it looks like you are enforcing lit-element 3.3.3 (in your v2.4.1) this already contains some breaking changes BTW just curious: is there any reason why you specify these particular versions in the "resolutions" section? I think it would be better to use the default versions which come in the lit package (so basically delete resolutions section from your package.json) |
thanks for the hint related to lit-element. just released v.2.1.5 beta. awaiting feedback. |
Oh wow indeed it is there. Really I don't have a clue what was the idea behind it. In general I think that the safest option is to follow versions (and the approach) from the HA frontend. They do have one lit related package in resolutions section but there is no lit-element. I'm pretty sure you'll be fine without anything in resolutions section as long you don't have dependencies with security warnings. I saw that you have moved these to the "dependencies" section but I think you don't use these packages directly anywhere in your code so you can just remove them completely from packages.json - they are included in No need to release a new version if you decide to remove them from the dependencies as this should not have any effect on the released bundle. |
done, thanks |
i am still waiting for feedback for the 2.1.5 beta release. i cannot verify the fix myself, as i don't have such an old device |
due to the lack of responses i released 2.1.6 where i'm downgrading to lit v2. i'll consider this issue done |
Checklist:
Release with the issue:
2.0
Last working release (if known):
<2.0
Browser and Operating System:
iPad OS 12.5.7 with last Home Assistant App Update
Description of problem:
Since last update to 2.0, my Dashboard on my oldest iPad show me only the config Text, not a graphical Widget. Browser/App Refresh and iPad restart dont solve the issue.
The text was updated successfully, but these errors were encountered: