Skip to content

Clock Card has been Depreciated Polymer #1

Open
comet424 wants to merge 4 commits intobouwew:masterfrom
ScottESanDiego:main
Open

Clock Card has been Depreciated Polymer #1
comet424 wants to merge 4 commits intobouwew:masterfrom
ScottESanDiego:main

Conversation

@comet424
Copy link

@comet424 comet424 commented May 5, 2023

@ScottESanDiego
hi in the latest Home Assistant... The Clock card has been depreciated.. well how it works.. hopefully there is a fix

the error is

Logger: frontend.js.latest.202305033
Source: components/system_log/__init__.py:257
First occurred: 7:35:15 PM (2 occurrences)
Last logged: 7:41:23 PM

http://homeassistant:8123/hacsfiles/scotte-clock-card/scotte-clock-card.js?hacstag=32622389721011:1:25 Uncaught ReferenceError: Polymer is not defined

https://developers.home-assistant.io/blog/2023/04/04/deprecating_polymer/
is link about the polymer being deprecciated

@ScottESanDiego
Copy link

Thanks - I saw it was an issue when I updated to the 2023.5 Home Assistant. I'll look at moving to Lit, or including the Polymer package explicitly shortly.

I see this is a fork of ScottESanDiego/scotte-clock-card but don't see that it's any different. Do you have a patch for it?

@comet424
Copy link
Author

comet424 commented May 8, 2023

@ScottESanDiego i dont have a patch i just use your card in home assistant and i get that polymer error and ya i dunno i just learned that polmer and lit is how the cards work but i have no idea i just regular user.. i wasnt able to post issues on your page.. just pull request what ever that is.. and then it linked me to the bouwew webpage here... all i know...

@comet424
Copy link
Author

@ScottESanDiego have you had time to fix your code for new version of home assistant?

@ScottESanDiego
Copy link

ScottESanDiego commented Jun 10, 2023 via email

@comet424
Copy link
Author

@ScottESanDiego ah ok.. not a problem.. wasnt sure.. ya be nice if we could clone ourselves

@ScottESanDiego
Copy link

I spent an hour on this yesterday, and can't make it work. I think I'm not savvy enough with js/ts.

If you can make something work, I'd gladly take it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments