Yevgenium / weather-chart-card

Custom weather card with charts
MIT License
275 stars 81 forks source link

Rain graph doesn't work on .116.3 for daily view with dark sky #47

Closed scstraus closed 3 years ago

scstraus commented 3 years ago

I also have the fix from the .27 version, cleared caches and did refresh from … menu, but still no graphs on .115.5-116.3. I went and manually verified that I had the same changes included in PR#43 2, and I do… But no graph… I'm getting this error in the logs:

Logger: frontend.js.latest.202010012
Source: components/system_log/__init__.py:193
First occurred: 9:58:24 PM (19 occurrences)
Last logged: 9:58:41 PM
http://10.10.10.20:8123/hacsfiles/lovelace-weather-card-chart/weather-card-chart.js:298:43 Uncaught TypeError: Cannot read property 'forecast' of undefined 

No proxy, already accessing with local IP… also tried via Nabu Casa. It’s not working on any of 5 devices running 3 OSes and combination of local and remote URL. I even tried it on a brand new computer with a browser that had never connected to my dashboard before.

It does actually work for my weekly card using open weather map, but not my daily card using dark sky. Must be something either with the daily view or dark sky.

image

- type: 'custom:weather-card-chart'
    title: Weather Today
    weather: weather.openweathermap
    sun: sun.sun
    mode: hourly

  - type: 'custom:weather-card-chart'
    title: Weather This Week
    weather: weather.weather_forecast
    sun: sun.sun