Skip to content

TypeError: undefined is not an object (evaluating 'config.style.height') #32

Description

@w0vka

Hi there,
i have noticed that a few days ago my lovelace dashboad isn't showing any circle-sensor-card details..
The problem seems to be since the card version 1.2.1.

I could see this error in my logs:

Logger: frontend.js.latest.202108300
Source: components/system_log/__init__.py:190
First occurred: 9:42:40 AM (415 occurrences)
Last logged: 11:47:19 AM

https://myurl.duckdns.org:****/hacsfiles/circle-sensor-card/circle-sensor-card.js?hacstag=141952963122:30:181 TypeError: undefined is not an object (evaluating 'config.style.height')
:0:0 Script error.
https://myurl.duckdns.org:****/hacsfiles/circle-sensor-card/circle-sensor-card.js?hacstag=141952963121:24:36 Uncaught TypeError: Cannot read properties of undefined (reading 'height')
https://myurl.duckdns.org:****/hacsfiles/circle-sensor-card/circle-sensor-card.js:30:36 Uncaught TypeError: Cannot read properties of undefined (reading 'height')

After downgrade to 1.2.0 the dashboard is showing all the details again.
Ha version is 2021.9.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions