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

ReferenceError: drawChartOncePerHour is not defined #259

Open
cloudbr34k84 opened this issue Oct 17, 2024 · 1 comment
Open

ReferenceError: drawChartOncePerHour is not defined #259

cloudbr34k84 opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cloudbr34k84
Copy link

Description
An uncaught error occurs when using the weather-chart-card in Home Assistant. This error appears on Android 14 with Chrome WebView 126.0.6478.186.

Logger: frontend.js.modern.202410023
Source: components/system_log/__init__.py:331
First occurred: 06:01:54 (1 occurrences)
Last logged: 06:01:54

Uncaught error from Chrome WebView 126.0.6478.186 on Android 14 ReferenceError: drawChartOncePerHour is not defined /hacsfiles/weather-chart-card/weather-chart-card.js:18218:7

Actual Behavior
The following error is encountered:

ReferenceError: drawChartOncePerHour is not defined

Troubleshooting Steps Taken
Updated to the latest version of the card.
Cleared cache and performed a hard reload.
Reinstalled the card via HACS.

@cloudbr34k84 cloudbr34k84 added the bug Something isn't working label Oct 17, 2024
@alphapuggle
Copy link

Also having this issue on my mounted tablet. Causes the chart to disappear after an hour

Logger: frontend.js.modern.202411062
Source: components/system_log/__init__.py:331
First occurred: November 15, 2024 at 12:00:00 AM (22 occurrences)
Last logged: 10:00:01 AM

Uncaught error from Chrome WebView 131.0.6778.39 on Android 12 ReferenceError: drawChartOncePerHour is not defined /hacsfiles/weather-chart-card/weather-chart-card.js:18218:7
Uncaught error from Firefox 132.0 on Linux x86_64 TypeError: null has no properties _openedChanged (src/components/ha-selector/ha-selector-select.ts:382:20) _openedChanged (src/components/ha-selector/ha-selector-select.ts:381:47) call (src/lit-html.ts:2018:28) dispatchEvent (src/common/dom/fire_event.ts:76:7) _filterChanged (src/components/ha-combo-box.ts:311:14) call (src/lit-html.ts:2018:28) dispatchEvent (node_modules/@polymer/polymer/lib/mixins/property-effects.js:328:42) dispatchNotifyEvent (node_modules/@polymer/polymer/lib/mixins/property-effects.js:353:2) fn (node_modules/@polymer/polymer/lib/mixins/property-effects.js:176:11) runEffectsForProperty (node_modules/@polymer/polymer/lib/mixins/property-effects.js:263:17)
Uncaught error from Firefox 132.0 on Linux x86_64 ReferenceError: drawChartOncePerHour is not defined autoscroll/updateChartOncePerHour/this.autoscrollTimeout< (/hacsfiles/weather-chart-card/weather-chart-card.js:18218:7)
Uncaught error from Chrome WebView 132.0.6834.5 on Android 12 ReferenceError: drawChartOncePerHour is not defined /hacsfiles/weather-chart-card/weather-chart-card.js:18218:7

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

2 participants