Open ildar170975 opened 2 months ago
Consider the code:
type: vertical-stack cards: - type: custom:auto-entities card: type: map auto_fit: true fit_zones: true entities: - zone.home filter: include: - entity_id: person.ildar
Use-case: show device_tracker or person entities AND some zone. Here I chose one particular person entity & home zone.
device_tracker
person
Select a dashboard in STORAGE mode, add a new card with this code. How it is displayed:
Zoom is minimal. Pressing F5 does not help.
Save the dashboard (exit "edit mode") - still zoom is minimal: Pressing F5 does not help.
Go back to "edit mode" - the card is shown normal (zoom is OK). Press F5 - again zoom is minimal.
In these cases I do not observe the issue:
vertical-stack
type: custom:auto-entities card: type: map auto_fit: true fit_zones: true entities: - zone.home filter: include: - entity_id: person.ildar
auto-entities
type: vertical-stack cards: - type: map auto_fit: true fit_zones: true entities: - zone.home - person.ildar
auto_fit
fit_zones
false
Consider the code:
Use-case: show
device_tracker
orperson
entities AND some zone. Here I chose one particularperson
entity & home zone.Select a dashboard in STORAGE mode, add a new card with this code. How it is displayed:![image](https://github.com/thomasloven/lovelace-auto-entities/assets/71872483/9f0b2bdc-94b2-494b-801c-e0c1a16bf446)
Zoom is minimal. Pressing F5 does not help.
Save the dashboard (exit "edit mode") - still zoom is minimal:
Pressing F5 does not help.
Go back to "edit mode" - the card is shown normal (zoom is OK). Press F5 - again zoom is minimal.
In these cases I do not observe the issue:
vertical-stack
is used:auto-entities
is not used:auto_fit
&fit_zones
options have different values or omitted (i.e. using defaultfalse
values).