GithubHelp home page GithubHelp logo

Comments (7)

DavidFW1960 avatar DavidFW1960 commented on May 27, 2024

Sorry.. I only just saw this issue.
I don't see that error. Are you on 0.107.x?
The card still works ok right?

from bom-weather-card.

bieniu avatar bieniu commented on May 27, 2024

The card works as usual without any problems. I always use the recent version of HA.

from bom-weather-card.

DavidFW1960 avatar DavidFW1960 commented on May 27, 2024

Let me know if it still does it with the latest version and give me the log again (as line numbers will be different)

from bom-weather-card.

bieniu avatar bieniu commented on May 27, 2024

Yes, error still appears with current version of the card (0.63).

Uncaught (in promise) TypeError: Cannot set property 'textContent' of null
    at HTMLElement.updateValues (bom-weather-card.js:858)
    at HTMLElement.set hass [as hass] (bom-weather-card.js:813)
    at HTMLElement.value (hui-stack-card.ts:40)
    at layout-card.js:1
    at Array.forEach (<anonymous>)
    at HTMLElement.updated (layout-card.js:1)
    at HTMLElement.performUpdate (updating-element.ts:720)
    at HTMLElement._enqueueUpdate (updating-element.ts:653)
updateValues @ bom-weather-card.js:858
set hass @ bom-weather-card.js:813
value @ hui-stack-card.ts:40
(anonymous) @ layout-card.js:1
updated @ layout-card.js:1
performUpdate @ updating-element.ts:720
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
value @ hui-panel-view.ts:36
performUpdate @ updating-element.ts:704
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
value @ hui-root.ts:482
performUpdate @ updating-element.ts:720
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
commit @ parts.ts:420
commit @ parts.ts:133
update @ template-instance.ts:53
__commitTemplateResult @ parts.ts:268
commit @ parts.ts:218
a @ render.ts:55
V.render @ shady-render.ts:277
update @ lit-element.ts:220
performUpdate @ updating-element.ts:704
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
value @ partial-panel-resolver.ts:121
value @ hass-router-page.ts:84
performUpdate @ updating-element.ts:704
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
commit @ parts.ts:420
commit @ parts.ts:133
update @ template-instance.ts:53
__commitTemplateResult @ parts.ts:268
commit @ parts.ts:218
a @ render.ts:55
V.render @ shady-render.ts:277
update @ lit-element.ts:220
performUpdate @ updating-element.ts:704
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
commit @ parts.ts:420
commit @ parts.ts:133
update @ template-instance.ts:53
__commitTemplateResult @ parts.ts:268
commit @ parts.ts:218
update @ template-instance.ts:53
__commitTemplateResult @ parts.ts:268
commit @ parts.ts:218
a @ render.ts:55
V.render @ shady-render.ts:277
update @ lit-element.ts:220
performUpdate @ updating-element.ts:704
_enqueueUpdate @ updating-element.ts:653
async function (async)
_enqueueUpdate @ updating-element.ts:640
_requestUpdate @ updating-element.ts:605
set @ updating-element.ts:313
value @ hass-base-mixin.ts:49
(anonymous) @ connection-mixin.ts:141
n @ store.js:19
(anonymous) @ entities.js:9
(anonymous) @ entities.js:26
_handleMessage @ connection.js:150
(anonymous) @ connection.js:30

from bom-weather-card.

DavidFW1960 avatar DavidFW1960 commented on May 27, 2024

So I think it's the stack card causing this, not the bom card as I am not seeing it anywhere on my system.
This is a dashboard with 4 of my weather cards in vertical stacks:
image
and the console on the right shows no errors...

from bom-weather-card.

bieniu avatar bieniu commented on May 27, 2024

Errors disappear when I remove layout-card. Can you try to reproduce the error with layout-card?

from bom-weather-card.

DavidFW1960 avatar DavidFW1960 commented on May 27, 2024

I don't use that card. It seems the combo causes this error for some reason but it's above my knowledge to fix it if it's in the BOM card. Seems to be the interaction with the 2 cards causing the issue and I don't know which needs to be fixed. In any case this card is working so annoying as it is, I suggest ignoring it for now.

I have some other cards (not mine) throwing weird errors on other views but they likewise work so I'm just ignoring them for now as well...

Not the best answer I know but I don't think I can do anything else at this point....

from bom-weather-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.