-
Notifications
You must be signed in to change notification settings - Fork 39
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
Tizen browser on Samsung Family Hub show only config text #596
Comments
I'm sorry to hear that. I'm not sure how we can solve this... I assume there is an older version of the browser engine (javascript engine) and I have used somewhere some new JS construct/function. In fact it is possible that I have updated one of the dependencies and they use something new what is not supported in the old engines. It might be impossible to track it down. If you are willing to test few bundles please let me know. I can try to build few card versions and you could test them (although you would need to update the card js file manually in your HA). Please let me know if you want to try |
Ok I think that I have found the culprit. If the below card code works for you then due to the same reason the clock-weather card stopped working Please test: battery-state-card.zip |
I'm 99.9% sure that this is the culprit for both cards |
Did it and it does not solve the issue. Don't know if I did the right steps because I have basic experience.
Let me know if you want me to do other tests. Thanks! |
After overwriting the file can you please check on your PC/laptop what version of the card do you see in the DeveloperTools->Console One more thing: can you please test my card on the page where you don't have clock-weather card? Cards shouldn't affect each other but I just wanted to double check. BTW It is weird that you see the info about missing clock-weather-card but there is nothing for battery-state-card. Can you please try to use the simple/default config - basically just the card name without any additional config: FYI You don't need to upgrade the version to v3 via HACS - you can just rename the existing file to save it for later (manual rollback) |
Can't fine the Console. Any tip pls?
Your card is already alone in a dedicated page.
That's not true. I didn't attach any picture, but I see your card as the clock one.
done, see attached picture above
With the 2.1.1 installed, I replaced original file with yours, restarted HA and it works. |
I'm not fully convinced that the files are not coming from the browser cache. So when you were testing it is possible that you were testing always the 2.X version. Here you have two more cards which are printing the version in the card header section so it will be easy to tell whether the correct version is loaded: If it is not a card JS file which is causing the issue there is just one more file which is downloaded (map file). It is an optional file which can help to debug JS in the browser - you can delete it. But I doubt that it is causing problems (no harm with deleting it) |
With 2.1.1 installed:
Upgraded to 3.0.0:
Re-downloaded 3.0.0, removed map file, tested: not working Re-downloaded 3.0.0, replaced map file with the 2.1.1 version map file: not working Let me know if you want me to do some more tests. |
If you have a lovlace configured via yaml then these resources should be in the main configuration.yaml file. If it's configured via UI then the list is in Settings > Dashboards > Resources (to see "Resources" option you need to click on 3 dots in the top-right corner) If you have my-ha configured then the below link should take you to the proper page in your HA |
Ok I discovered I had a mess, so I moved the few url from ui-lovelace to ui dashboard, and removed the "include ui.lovelace" from configuration.yaml. So, I tested both the files and yes, the LIT-2.1.1 works and it is shown in the upper part of the card. So it has been a long journey (sorry for that and thanks for support) but you're right ... LIT 3 is not supported by Samsung Tizen Browser. |
Here you have a card-v3 but with lit-v2 so for now you can use this one |
Thank you so much for the custom version with Lit v2 and the troubleshooting effort! |
Can you please address me to a few public websites that are altready using Lit v3? |
Sorry I don't know any public websites which use lit >= 3.0.0. You can maybe try to take a look here: https://www.npmjs.com/package/lit?activeTab=dependents The problem with tracking down websites which use lit is that lit has to be bundled (AFAIK at least - I'm not sure if it can be embedded via ES6 modules) so there is no separate reference to the lit js file (to some CDN) When you see the lit package update in the below file you may start to be worried ;) |
I have just found PR with the lit package update in HA frontend. There is some discussion there which indicates that the upgrade to v3 won't happen soon as there are breaking changes which they need to address and there are other higher priority issues to solve. They have sent the other PR where they have pinned the current lit version which means even the minor updates will be ignored - I guess they have done it "just in case" Eventually upgrade to v3 will happen but you can feel safe for a while ;) |
Safe for a while and thanks for checking! |
I have released version (3.0.1) with downgraded Lit package - you can do the update from HACS. |
Release with the issue: 3.0.0
Last working release: 2.1.1
Browser: Tizen on Samsung Family Hub
Description of the problem:
Since last update to 3.0.0, my dashboard shows me only the config text, not the graphical widget.
First line is: "Custom element doesn't exist: clock-weather-card."
Same dashboard works on other devices.
Tizen browser cannot be updated.
Rolled back to 2.1.1
As a note, this happened also on "clock-weather-card" when upgrading from 2.1.0 to any version > 2.1.1 (current latest is 2.1.3)
https://github.com/pkissling/clock-weather-card/issues/243
The text was updated successfully, but these errors were encountered: