AitorDB / home-assistant-sun-card

Home assistant sun card based on Google weather design
MIT License
407 stars 183 forks source link

Values are not displayed #93

Open pepe59 opened 3 years ago

pepe59 commented 3 years ago

The values are displayed on the PC Win10 chrome browser, but not on the android tablet with the WallPanel application.

pepe59 commented 3 years ago

Is this project continuing? What is the chance of an update?

AitorDB commented 3 years ago

The project is continuing, but currently I'm a bit limited on time, there many changes in the develop branch that hopefully will be released soon. About the issue, I haven't used that app but my guess is that they don't support all the features that modern browser do, could you attach a screenshot or something?

pepe59 commented 3 years ago

What I read that WallPanel uses to display WebView for android. All the cards I have on my tablet are displayed correctly, including sensor values and graphs. The Sun card is displayed, but has no values on the android 9 wall tablet. The application used to display the WallPanel. Clearing the cache or restarting the tablet didn't help. sun card wallpanel

pepe59 commented 3 years ago

After reading the darkMode problem, I also removed it using card-mod. The values on the tablet are displayed correctly. Is this a darkMode problem?

type: custom:sun-card
entity: sun.sun
timeFormat: 24h
card_mod:
  style: |
    .sun-card.sun-card-light {
      --sun-card-lines: var(--disabled-text-color) !important;
      --sun-card-text-color: var(--primary-text-color) !important;
      --sun-card-subtitle-color: var(--secondary-text-color) !important;
    }

sun card ok