Skip to content

Cannot read properties of undefined (reading 'length') #960

Description

@ildar170975

0.12.0-dev.2

Observe this error in Browser console for ALL entities which were not changed within a selected period:

  1. DB size did not change within 4 days (> 24 hrs which is a default value for hours_to_show)
type: custom:mini-graph-card
entities:
  - sensor.home_assistant_v2_db_size

изображение

изображение

  1. This input_number helper was not changed for a long time.
    Consider this card:
type: vertical-stack
cards:
  - type: custom:mini-graph-card
    entities:
      - input_number.testing_device_class_apparent_power
  - type: history-graph
    entities:
      - entity: input_number.testing_device_class_apparent_power
  - type: entities
    entities:
      - entity: input_number.testing_device_class_apparent_power

Now the graph is not displayed, same errors in the console:
изображение
изображение

Change the helper's value - then the graph will be displayed w/o errors:

изображение

  1. Any sensor which value was changed more than 15 minutes ago:
    изображение

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions