thomasloven / lovelace-fold-entity-row

🔹 A foldable row for entities card, containing other rows
MIT License
587 stars 38 forks source link

TypeError: null is not an object (near '...}))}(t,"$.divider")).style.marginRight= #161

Closed Mariusthvdb closed 2 years ago

Mariusthvdb commented 3 years ago

My Home Assistant version: 2021.6.0b5

Fold-entity-row version (FROM BROWSER CONSOLE): 20.0.4 What I am doing: have 4 entities cards using fold-entity-row to fold some other entities

What I expected to happen: no error What happened instead:

see screenshot. Folds do work as expected this is in Safari/Mac. Error isn't always there, and only shows after the view has been loaded for some time. Havent seen it in Chrome yet. Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error
  - type: entities
    title: Summary system automation
    show_header_toggle: false
    entities:
      - some entity
      - some other entity
      - type: custom:fold-entity-row
        head:
          type: section
          label: Sense automations
        padding: 0
        entities:
          - entity: automation.sense_family_home_change
            secondary_info: last-triggered
# End of code

Error messages from the browser console:

Unhandled Promise Rejection: TypeError: null is not an object (near '...}))}(t,"$.divider")).style.marginRight="...')

Schermafbeelding 2021-06-02 om 12 36 42

By putting an X in the boxes ([X]) below, I indicate that I:

thomasloven commented 2 years ago

I think this is fixed in 20.0.5?

Mariusthvdb commented 2 years ago

havent seen it for some time now, so closing, and if it returns Ill let you know ;-) thanks.