Skip to content

Card doesn't support new weather entitles without forecast attributes #102

@Scoop2389

Description

@Scoop2389

Additional Information:
@Makin-Things, look I'm sorry. I didn't mean to come off as rude or disrespectful to you or anyone who contributed to your project. I was trying to do my due diligence by requesting a card I thought was broken and unmaintained to be removed from HACS. I thought that all weather integrations were updated to this new standard, and that meant that this card would be broken for everyone. I didn't realize that a lot of use cases and weather integrations haven't been updated yet and I didn't know what that request meant to you guys. I really do appreciate the functionality of this card and would love to help reproduce this and provide any logs you need.
Sincerely, let's try again and try to solve this together. Thanks.

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
Card Version: 1.0.5
Home Assistant Core: 2023.9

Last working release (if known):
Card Version: 1.0.5
Home Assistant Core: 2023.8.4

Browser and Operating System:
Windows, Edge, Chrome + Android, Home Assistant Mobile App

Description of problem:
In Home Assistant Core 2023.9, a new weather forecast scheme was introduced in which entities no longer have forecast attributes, and instead forecast data must be retrieved by calling a service (weather.get_forecast) (Ref). This card does not call the service, and therefore entities without forecast attributes do not appear in this card.

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

platinum-weather-card-df6d26e2.js:41  Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'filter')
    at ge._getForecastPropFromWeather (platinum-weather-card-df6d26e2.js:268:71)
    at ge._checkForErrors (platinum-weather-card-df6d26e2.js:73:17788)
    at ge.render (platinum-weather-card-df6d26e2.js:268:1014)
    at ge.update (platinum-weather-card-df6d26e2.js:47:547)
    at ge.performUpdate (platinum-weather-card-df6d26e2.js:41:5079)
    at ge.scheduleUpdate (platinum-weather-card-df6d26e2.js:41:4726)
    at ge._$EC (platinum-weather-card-df6d26e2.js:41:4634)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions