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

hui-weather-forecast-card: TypeError: o.setConfig is not a function #6169

Closed
Mariusthvdb opened this issue Jun 14, 2020 · 7 comments
Closed

Comments

@Mariusthvdb
Copy link
Contributor

The problem

Inspector showing this error:

Schermafbeelding 2020-06-14 om 23 39 17

Environment

  • Home Assistant Core release with the issue: 0.111.2
  • Last working Home Assistant Core release (if known): not sure
  • Operating environment (Home Assistant/Supervised/Docker/venv): Home Assistant
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

though most of the time inspector errors arise on a separate view, this errors show even when not a single forecast card is currently displayed. Not sure what yaml to post because of that.

Seems to happen in Safari/Mac, dont see it in Chrome

@frenck frenck transferred this issue from home-assistant/core Jun 14, 2020
@bramkragten
Copy link
Member

I guess this is some custom thing, can you try disabling all custom?

@Mariusthvdb
Copy link
Contributor Author

isn't this the core weather-forecast card ?

I am not aware of any custom card with this name, nor am I using this in eg an entities card, with the prefix hui: and suffix -card or as hui_element: at all...

only using this card like:

  - type: weather-forecast
    entity: weather.openweathermap

the 2 other weather integrations in my setup: dark_sky and buienradar

still, today I havent seen this anymore, without changing anything to these cards/configs. Maybe it was a cache thing, that got cleaned up during several restarts.

let me please check this for another day or so, and Ill close if not re-appearing?

@bramkragten
Copy link
Member

I highly doubt that stack trace is correct. Click the filename top right and see where it takes you.

@Mariusthvdb
Copy link
Contributor Author

Mariusthvdb commented Jun 16, 2020

got it back again, on a page with the same error, but in a markdown card:

Schermafbeelding 2020-06-16 om 12 21 15

Schermafbeelding 2020-06-16 om 12 22 20

clicking that takes to:

Schermafbeelding 2020-06-16 om 12 23 08

on another page with a markdown card, I get this:

Schermafbeelding 2020-06-16 om 12 27 34

without a red card in the frontend.

@bramkragten
Copy link
Member

Seems like it is hui-element.js

@Mariusthvdb
Copy link
Contributor Author

ok, Ill ask Thomas about this then. Puzzling thing is the relation with the hue-weather-forecast-card though. Would you have any lead on how that could be originated?

@bramkragten
Copy link
Member

We made some changes to source mapping that might cause to not always be right, not sure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants