Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel mode + auto-entities + Map: card is too high #436

Open
ildar170975 opened this issue Apr 7, 2024 · 1 comment
Open

Panel mode + auto-entities + Map: card is too high #436

ildar170975 opened this issue Apr 7, 2024 · 1 comment

Comments

@ildar170975
Copy link

ildar170975 commented Apr 7, 2024

2024.4.1
1.12.1

Consider this card:

type: custom:auto-entities
card:
  type: map
filter:
  include:
    - entity_id: device_tracker.virtual_tracker_1

on a Panel view.

The card is too high - scrollbars appear, the map is not properly centered:
Initially you even cannot see the device_tracker's marker:
image

After zooming:
image

Note a scrollbar - the card now is not "limited by a viewport".

Compare with a Map card w/o auto-entities:
image

Compare with 2023.7.1 + 1.12.1 (Map + auto-entities) - same issue, i.e. it takes place in an old HA version as well:
image

@Mariusthvdb
Copy link

as the +/- buttons in the screenshot above remain visible, I didnt notice this issue before.

But, this morning in beta, I suddenly noticed that when clicking these buttons only once, they move out of the view:

before:

Scherm­afbeelding 2024-06-27 om 11 10 10

after clicking either + or -"

Scherm­afbeelding 2024-06-27 om 11 10 22

and the only way to get them back is by reloading the view. the center button does not help.

config:

title: Kaart
path: kaart
icon: mdi:map
type: panel
cards:

  - type: custom:auto-entities
    filter:
      include:
        - domain: person
    card:
      type: map
      hours_to_show: 48

listing my person entities verbosely fixes the issue 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants