ITADN

Map fit_zones: true options not respected on expanding

#901ClosedMariusthvdb 创建于 2026-01-27
bugwait-for-user-inputstale
M
Mariusthvdbcommented
as title, when using ``` - type: custom:decluttering-card template: expander_in_entities variables: - title: Kaart - cards: - type: custom:auto-entities entities: - zone.home show_empty: false filter: include: - entity_id: 'geo_location.*' exclude: - attributes: source: wwlln card: type: map fit_zones: true sort: count: 10 ``` the expanded fold always shows the Map first at full width <!-- Uploading "Scherm­afbeelding 2026-01-27 om 08.29.36.png"... —> while the exact same configuration in the fold-entity-row ``` - type: custom:fold-entity-row card_mod: !include /config/dashboard/card_mods/map_in_fold.yaml head: type: section label: Kaart entities: - type: custom:auto-entities entities: - zone.home show_empty: false filter: include: - entity_id: 'geo_location.*' exclude: - attributes: source: wwlln card: type: map fit_zones: true sort: count: 10 ``` shows as expected: <!-- Uploading "Scherm­afbeelding 2026-01-27 om 08.29.49.png"... —> both cards in the same config: If we click the ‘reset focus’ button in the Map, the card is eventually displayed as expected alright. Which is where I feel things are actually not right, because why would the expanded card notice the actual size, and the non expanded card not notice that moreover, after having reset focus once, the expander card does show the Map alright on re-opening. Until the view has been changed and returned to moe more. HomeAssistant version 2026.1.3 Expander card 4.6.0 Nothing at all in Inspector
关闭于 2026-03-22 16 条评论