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

after adding a weather map, Lovelace stops working #210

Closed
Vladd1980 opened this issue Jul 20, 2024 · 6 comments
Closed

after adding a weather map, Lovelace stops working #210

Vladd1980 opened this issue Jul 20, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Vladd1980
Copy link

after adding a weather map, Lovelace stops working. in the logs I see this information:

Uncaught error from Chrome 126.0.0.0 on Linux x86_64 TypeError: t.reduce is not a function extractMediaQueries (src/panels/lovelace/common/validate-condition.ts:317:20) onChange (src/panels/lovelace/common/validate-condition.ts:332:23) this._clearMediaQueries (src/panels/lovelace/cards/hui-card.ts:209:6) connectedCallback (src/panels/lovelace/cards/hui-card.ts:60:9) apply (src/scoped-custom-element-registry.js:248:41) _addCardToColumn (src/panels/lovelace/views/hui-masonry-view.ts:263:15) Promise.all (src/panels/lovelace/views/hui-masonry-view.ts:236:11)
Uncaught error from Chrome 126.0.0.0 on Linux x86_64 TypeError: t.reduce is not a function extractMediaQueries (src/panels/lovelace/common/validate-condition.ts:317:20) onChange (src/panels/lovelace/common/validate-condition.ts:332:23) this._clearMediaQueries (src/panels/lovelace/cards/hui-card.ts:209:6) connectedCallback (src/panels/lovelace/cards/hui-card.ts:60:9) apply (src/scoped-custom-element-registry.js:248:41) _addCardToColumn (src/panels/lovelace/views/hui-masonry-view.ts:255:15) Promise.all (src/panels/lovelace/views/hui-masonry-view.ts:236:11)
Uncaught error from Chrome WebView 126.0.6478.134 on Android 14 ReferenceError: drawChartOncePerHour is not defined /hacsfiles/weather-chart-card/weather-chart-card.js:18226:7
Uncaught error from Chrome WebView 126.0.6478.134 on Android 14 TypeError: t.every is not a function conditions (src/panels/lovelace/common/validate-condition.ts:169:20) _updateVisibility (src/panels/lovelace/cards/hui-card.ts:230:25) fireEvent (src/panels/lovelace/cards/hui-card.ts:135:9) ev.stopPropagation (src/panels/lovelace/cards/hui-card.ts:127:13) dispatchEvent (src/common/dom/fire_event.ts:76:7) tag.includes (src/panels/lovelace/create-element/create-element-base.ts:136:14)
Uncaught error from Chrome 126.0.0.0 on Linux x86_64 TypeError: t.every is not a function conditions (src/panels/lovelace/common/validate-condition.ts:169:20) _updateVisibility (src/panels/lovelace/cards/hui-card.ts:230:25) fireEvent (src/panels/lovelace/cards/hui-card.ts:135:9) ev.stopPropagation (src/panels/lovelace/cards/hui-card.ts:127:13) dispatchEvent (src/common/dom/fire_event.ts:76:7) tag.includes (src/panels/lovelace/create-element/create-element-base.ts:136:14)

home assistant version: 2024.7.3
weather chsrt card version: 2.4.7

@Vladd1980 Vladd1980 added the bug Something isn't working label Jul 20, 2024
@Pelvis1416
Copy link

I am experiencing similar issues and would like to note that I am running a Dockerized version of HO

@BartVPL
Copy link

BartVPL commented Aug 1, 2024

same issue here after upgrade do HA core - anyone know how to fix that?

@Vladd1980
Copy link
Author

in my opinion this is due to the number of entities. As soon as I connect more than 9 entities, Lovelace stops working
image

@Pelvis1416
Copy link

I have tested it just now, and Lovelace still does not work, even when configured with 9 entities.

@BartVPL
Copy link

BartVPL commented Aug 1, 2024

Seems to work I've deleted the chart from lovelace card completely and created new from the scratch no error so far.

@Vladd1980
Copy link
Author

Yes! Simply deleting entities doesn't work. You need to restore the Lovelace file and add entities less than 9 again. If you add more, Lovelace will stop working again

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

4 participants