pkissling / clock-weather-card

A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons
Other
395 stars 78 forks source link

not working anymore (climacell) #123

Closed dominickdm closed 1 year ago

dominickdm commented 1 year ago

Checklist:

Release with the issue: 1.0.9

Last working release (if known): 1.0.9

Browser and Operating System: Windows and Mac with Chrome

Description of problem: Since this morning, the clock weather card is not showing up anymore on my dashboard.

image

Yaml config: image

I use climacell as input, the entitity is available

image

Any idea what broke it suddenly?

Javascript errors shown in the web inspector (if applicable):

image

Additional information:

pkissling commented 1 year ago

hi @dominickdm I currently don't have access to a computer, hence cannot investigate the issue. my hunch is that your data provider delivers some data in an unexpected fashion. can please provide me your weather provider and the corresponding weather location? i will try to reproduce and possibly fix the issue when i'm back from vacation in January.

furthermore it would be helpful if you could dump the weather state (all attributes) at the exact moment when the weather card breaks

dominickdm commented 1 year ago

Hello @pkissling,

Thank you for your reply and enjoy your vacation.

I'm using climacell (Tomorrow.io) (https://www.home-assistant.io/integrations/tomorrowio), forecast type 'daily' on location 'Zingem' (not sure where to find the actual configured location..).

Here is the export of all attributes:

temperature_unit: °C pressure_unit: hPa wind_speed_unit: km/h visibility_unit: km precipitation_unit: mm forecast:

dominickdm commented 1 year ago

It might be related to the current temperature, since the current weather temperature shows NaN?

image

pkissling commented 1 year ago

yeah, thats possible. the card relies on a temperature attribute, which (sometimes) does not exist for your weather provider.

i will create a bug fix to make sure that the card still properly renders if temperature is not delivered by the provider. thanks for the hint

ETA is mid january