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

Card doesn't work for DWD (Deutscher Wetterdienst) any more #206

Closed
3 tasks done
arboeh opened this issue Sep 22, 2023 · 3 comments
Closed
3 tasks done

Card doesn't work for DWD (Deutscher Wetterdienst) any more #206

arboeh opened this issue Sep 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@arboeh
Copy link

arboeh commented Sep 22, 2023

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser
  • I read the FAQ and the issue I'm having was not mentioned there.

Release with the issue:
1.0.17

Last working release (if known):

Browser and Operating System:
Chrome, Windows 11

Description of problem:
Integration 'Deutscher Wetterdienst - DWD' had a big refactoring update yesterday from V1.2.28 to V2.0.0 and now the clock weather card doesn't work any more, because the forecast attribute is missing.
I know that normally it is 'problem' of the weather card integration (see also FL550/dwd_weather#77)", but the service seems to has forecast values:

flameshot_2023-09-22_07-40

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

clock-weather-card.js?hacstag=5226340191017:172 clock-weather-card - Error while rendering clock-weather-card component: Error: Weather entity does not have attribute "forecast".
    at Iw.getWeather (clock-weather-card.js?hacstag=5226340191017:240:2440)
    at Iw.renderForecast (clock-weather-card.js?hacstag=5226340191017:210:72)
    at clock-weather-card.js?hacstag=5226340191017:190:30
    at vn (clock-weather-card.js?hacstag=5226340191017:172:218135)
    at Iw.render (clock-weather-card.js?hacstag=5226340191017:190:17)
    at Iw.update (clock-weather-card.js?hacstag=5226340191017:23:405)
    at Iw.performUpdate (clock-weather-card.js?hacstag=5226340191017:11:5057)
    at Iw.scheduleUpdate (clock-weather-card.js?hacstag=5226340191017:11:4704)
    at Iw._$EC (clock-weather-card.js?hacstag=5226340191017:11:4612)

Additional information:
Attributes from DWDs service:

temperature: 14.5
temperature_unit: °C
humidity: 87
pressure: 1000.8
pressure_unit: hPa
wind_bearing: 205
wind_speed: 16.7
wind_speed_unit: km/h
visibility: 19.1
visibility_unit: km
precipitation_unit: mm
latest_update_utc: '2023-09-22T05:20:53.959346+00:00'
report_time_utc: ''
forecast_time_utc: '2023-09-22T03:00:00+00:00'
station_id: XXXX
station_name: XXXXXXXXXX
attribution: Data provided by Deutscher Wetterdienst (DWD)
friendly_name: XXXXXXXXXX
supported_features: 3
@arboeh arboeh added the bug Something isn't working label Sep 22, 2023
@arboeh
Copy link
Author

arboeh commented Sep 22, 2023

Sorry, guess it's a duplicate of #203 and it's in content with #204 also.

@FL550
Copy link

FL550 commented Sep 22, 2023

See here for reference: Weather attribute

@pkissling
Copy link
Owner

duplicates #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants