thomasloven / lovelace-fold-entity-row

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

Icon out of position. #165

Closed Tuschz closed 3 years ago

Tuschz commented 3 years ago

My Home Assistant version: 2021.6.5

Fold-entity-row version (FROM BROWSER CONSOLE): 20.0.4

What I am doing:

I am using custom:fold-entity-row wrapped in custom:auto-entities

What I expected to happen:

I expected the icon to stay on the same line as the entity and the entity information / action

What happened instead:

The icon shifted to the line above

image

Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error

type: custom:auto-entities
card:
  type: custom:fold-entity-row
  head:
    type: section
    label: Skab
filter:
  include:
    - area: Skab
  exclude:
    - state: unavailable
    - domain: sensor
    - domain: vacuum
    - domain: switch
    - domain: binary_sensor
sort:
  method: domain
  reverse: false
show_empty: false

# End of code

Error messages from the browser console:


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

thomasloven commented 3 years ago

Update template-entity-row to the latest version.

Tuschz commented 3 years ago

Im using version 1.2.3 of template-entity-row - besides, it don't see the connection. im using custom:auto-entities and custom:fold-entity-row

thomasloven commented 3 years ago

Template-entity-row used to accidentally do things to the styling of all other entity rows which it shouldn't. I've seen this problem a lot lately, and in 100 % of cases so far updating template-entity-row to 1.1.2 or later has fixed it.

Try clearing your caches, and check your browser log to make sure you only get one row of "TEMPLATE-ENTITY-ROW INSTALLED".

Tuschz commented 3 years ago

Thanks. F-12 and Console in chrome showed me that TEMPLATE-ENTITY-ROW 1.1.1 IS INSTALLED. Even though i updated. I still had some cached. Thanks!