Skip to content
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

The card stopped working after last update #15

Open
niraviry opened this issue Dec 9, 2023 · 2 comments
Open

The card stopped working after last update #15

niraviry opened this issue Dec 9, 2023 · 2 comments

Comments

@niraviry
Copy link

niraviry commented Dec 9, 2023

Upgrading to 2023.12.1 caused the card to notify the card does not exists.
It is the only custom card that is not working.
No change in the code.

@ibz0q
Copy link

ibz0q commented Dec 30, 2023

I was about to submit a PR and fix clockwork however with the most recent update it seems to be working fine.

I created my own plugin last time clockwork broke which supports styling to clockworks style e.g. a lot more customization. I don't mean to spam this repo however I'm currently able to support my plugin if you face issues I believe this repo might be inactive.

type: custom:better-moment-card
parentStyle: |
  line-height:normal;
  padding-bottom:0em;
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr; 
  gap: 0px; 
  grid-template-areas: 
    'time time riyadh'
    'date date brussells'; 
moment:
  - format: HH:mm:ss
    style: |
      font-size:4.4em; 
      text-align:center; 
      font-weight:400; 
      grid-area: time;
      font-weight:500
  - format: dddd, DD MMMM
    style: |
      font-size:1.6em;
      line-height:1em; text-align:center;
      padding-top:0.5em;
      grid-area: date; 
  - format: HH:mm:ss
    timezone: Asia/Riyadh
    style: |
      text-align:center; 
      line-height:2em; 
      padding-top:0.2em; 
      grid-area: riyadh;
    template: |
      <strong>🇸🇦 Riyadh</strong>
      <div style="font-size:1.2em;">{{moment}}</div>
  - format: HH:mm:ss
    timezone: Europe/Brussels
    style: |
      text-align:center; 
      line-height:2em; 
      grid-area: brussells;
    template: |
      <strong>🇩🇪 Brussels</strong>
      <div style="font-size:1.2em;">{{moment}}</div>

https://github.com/ibz0q/better-moment-card

@niraviry
Copy link
Author

Thanks. I did not add some more cases I have seen since after posting the case. I have lots of HA running in my home and family.
It looks like it has a problem on Linux and Chrome (Fireforx is working OK) and in some iOS versions.
Hope this will solve the issue.

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

No branches or pull requests

2 participants