bramkragten / weather-card

Weather Card with animated icons for Home Assistant Lovelace
MIT License
493 stars 171 forks source link

Problems with weekdays #55

Open uli6 opened 4 years ago

uli6 commented 4 years ago

Hi guys,

I hope everything is ok with you.

I've just installed this card (and I really like it :-) ). However, I'm having some problems showing the weekdays on the card.

Any idea of how can it be solved?

If I need to give any additional information, please let me know.

Thank you

Screenshot 2020-06-23 at 18 07 41

bigboban commented 4 years ago

Same issue. My source is:

entity: weather.openweathermap
name: Počasí
number_of_forecasts: '5'
type: 'custom:weather-card'
hourly_forecast: false
details: true
forecast: true
current: true

Today is monday. I see: MON, TUE, TUE, TUE, TUE and some strange (night?) temperatures. I think it should show highest temperature every day.

As it works it is unusable for showing forecast!

DdP13 commented 4 years ago

Same issue. My source is:

entity: weather.openweathermap
name: Počasí
number_of_forecasts: '5'
type: 'custom:weather-card'
hourly_forecast: false
details: true
forecast: true
current: true

Today is monday. I see: MON, TUE, TUE, TUE, TUE and some strange (night?) temperatures. I think it should show highest temperature every day.

As it works it is unusable for showing forecast!

If you look at the attribute page . you will see openweathermap provides data for upcoming weeks . i assume this card picks the first rows for daily weather. I don't know either how to change the card to pick your own attributes

uli6 commented 4 years ago

Found the problem.

I'm using Dark Sky, thus "mode: daily" is needed on Dark Sky configuration.

weather:
  - platform: darksky
    api_key: !secret darksky_api
    mode: daily
Milithor commented 4 years ago

I'm having the same problem with OpenWeatherMap.

current: true
entity: weather.openweathermap
forecast: true
hourly_forecast: false
icons: /local/animated/
number_of_forecasts: '5'
type: 'custom:weather-card'
details: true

If I set number_of_forecasts to like '10' it does show it has data for the whole week. So something is wrong with the weather card.