custom-cards / canvas-gauge-card

The card makes it possible to use gauges from https://canvas-gauges.com/
173 stars 25 forks source link

HA 2023.9 beta - some log errors #63

Closed Anto79-ops closed 4 months ago

Anto79-ops commented 1 year ago

hey, great integration!

Running 2023.9.0b0, and noticed some logs pertaing to this integration, i'll paste here:

Logger: frontend.js.latest.202308300
Source: components/system_log/__init__.py:269
First occurred: 3:06:53 PM (15 occurrences)
Last logged: 3:56:53 PM

Unhandled promise rejection from Chrome WebView 114.0.5735.220 on Android 9 "http://192.168.1.81:8123/hacsfiles/canvas-gauge-card/canvas-gauge-card.js?hacstag=14254583809"
Unhandled promise rejection from Chrome WebView 114.0.5735.220 on Android 9 "http://192.168.1.81:8123/hacsfiles/lovelace-card-mod/card-mod.js?hacstag=190927524322"
Unhandled promise rejection from Chrome 116.0.0.0 on Windows 10 TypeError: Cannot destructure property 'scrollTop' of 'this._scrollerController' as it is null. scrollTop (src/Virtualizer.ts:741:13) _correctScrollError (src/Virtualizer.ts:546:9) _finishDOMUpdate (src/Virtualizer.ts:538:9) _updateDOM (src/Virtualizer.ts:603:11) _handleLayoutMessage (src/Virtualizer.ts:441:43) _hostSink (src/layouts/shared/BaseLayout.ts:478:9) _sendStateChangedMessage (src/layouts/shared/BaseLayout.ts:364:9) _reflow (src/layouts/flow.ts:491:10) _reflow (src/layouts/shared/BaseLayout.ts:257:11) reflowIfNeeded (src/Virtualizer.ts:563:20)
Unhandled promise rejection from Chrome WebView 114.0.5735.220 on Android 9 3
Unhandled promise rejection from Chrome WebView 114.0.5735.220 on Android 9 { "code": "not_found", "message": "Subscription not found." }

thanks

Anto79-ops commented 1 year ago

Some information here https://github.com/home-assistant/frontend/issues/17745#issuecomment-1700910165

Anto79-ops commented 1 year ago

More details

2023-08-31 13:03:59.946 ERROR (MainThread) [frontend.js.latest.202308310] Unhandled promise rejection from Chrome 116.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'state')
CanvasGaugeCard.updated (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:273:97)
CanvasGaugeCard._$AE (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:5212)
CanvasGaugeCard.performUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4991)
CanvasGaugeCard.scheduleUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4572)
CanvasGaugeCard._$Ej (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4480)
2023-08-31 13:03:59.948 ERROR (MainThread) [frontend.js.latest.202308310] Unhandled promise rejection from Chrome 116.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'state')
CanvasGaugeCard.updated (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:273:97)
CanvasGaugeCard._$AE (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:5212)
CanvasGaugeCard.performUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4991)
CanvasGaugeCard.scheduleUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4572)
CanvasGaugeCard._$Ej (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4480)
2023-08-31 13:03:59.951 ERROR (MainThread) [frontend.js.latest.202308310] Unhandled promise rejection from Chrome 116.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'state')
CanvasGaugeCard.updated (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:273:97)
CanvasGaugeCard._$AE (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:5212)
CanvasGaugeCard.performUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4991)
CanvasGaugeCard.scheduleUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4572)
CanvasGaugeCard._$Ej (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4480)
2023-08-31 13:03:59.954 ERROR (MainThread) [frontend.js.latest.202308310] Unhandled promise rejection from Chrome 116.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'state')
CanvasGaugeCard.updated (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:273:97)
CanvasGaugeCard._$AE (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:5212)
CanvasGaugeCard.performUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4991)
CanvasGaugeCard.scheduleUpdate (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4572)
CanvasGaugeCard._$Ej (/hacsfiles/canvas-gauge-card/canvas-gauge-card.js:34:4480)