thomasloven/lovelace-fold-entity-row

card-mod wont move label any more on HA 2022.4.x

Mariusthvdb opened this issue · 1 comments

My Home Assistant version: 2022.4.0.dev20220225 frontend 20220223.0

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

What I am doing:

card-mod on the label to move it left

posting this here ( and not in card-mod), since you specifically asked for f-e-r feedback in the current #beta channel on Discord, and I noticed this happening in my dev/nightly instance.

What I expected to happen:

have the label positioned horizontally like the section header, see image below,

What happened instead:

new HA version seems to interfere, and doesnt change the position any longer

Minimal steps to reproduce:

# The least amount of code possible to reproduce my error
      card_mod: &label
        style: |
          .label {
            margin-left: 0px;
          }
# End of code

Error messages from the browser console:

no error so it seems

though this isnt about f-e-r not working And missing an entities: line.... this is a bigger section of the yaml:

type: entities
entities:

  - 
  - type: custom:fold-entity-row
    <<: *scroll
    head:
      type: section
      label: Active threshold
      card_mod: *label
    padding: 0
    entities:
      - type: custom:auto-entities
        card:
          type: entities
          card_mod: *mod
        filter:
          include:
            - group: group.active_devices
              options:
                secondary_info: last-changed
        sort:
          method: state
          reverse: true

  - type: section
    label: Related auto groups
    card_mod: *label

  - type: custom:fold-entity-row
    <<: *scroll
    head:
      type: section
      label: Sensors actueel
      card_mod: *label
    padding: 0
    entities:
      - type: custom:auto-entities
        card:
          type: entities
          card_mod: *mod
        filter:
          include:
            - entity_id: 'sensor.*_actueel'
        sort:
          method: state
          numeric: true
          reverse: true

and an image:

Schermafbeelding 2022-02-25 om 10 52 34

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

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

this has auto-resolved . I did another restart after some system edits, and now see:

Schermafbeelding 2022-02-25 om 12 16 57

back again.
No clue what happened, but closing this as it is no longer an issue (except on Chrome, but the seems unsolvable..)

apologies for taking repo space.