config-template-card icon indicating copy to clipboard operation
config-template-card copied to clipboard

map-card inside config-template-card is missing most of the time

Open noxhirsch opened this issue 2 years ago • 4 comments

Checklist:

  • [x] I updated to the latest version available
  • [x] I cleared the cache of my browser

Release with the issue: 2022.3.X (from 2022.3.0b0 to 2022.4.0.dev20220309)

Last working release (if known): 2022.2.9

Browser and Operating System: Current version of Edge Chromium & Firefox - both on Win 11

Description of problem: If using a map-card inside config-template-card, it is missing most of the time on first load. It seems to appear, if the entity gets an update, if you edit the card or if you come from another dashboard.

Tested on my main HA instance and on an empty second instance with different HA versions (as listed above) and without any other frontend cards/modifications.

Javascript errors shown in the web inspector (if applicable):


Additional information:

Example config (as minimalistic as possible to eliminate config errors):

type: custom:config-template-card
entities:
  - person.nico
variables:
  - states['person.nico'].state
card:
  type: map
  entities:
    - entity: person.nico

The card should be visible here: image And here: image It appears when you open the editor: image

noxhirsch avatar Mar 09 '22 09:03 noxhirsch

Experiencing the same problem

idoaflalo avatar Mar 20 '22 19:03 idoaflalo

Confirm the same with a bit more simple code:

type: custom:config-template-card
entities:
  - person.ildar
card:
  type: map
  entities:
    - entity: person.ildar

ildar170975 avatar Apr 20 '22 22:04 ildar170975

Up

idoaflalo avatar Sep 05 '22 22:09 idoaflalo

iOS Companion App - usually do not observe the issue iPad Air 2, iOS 15.x

ildar170975 avatar Sep 19 '22 01:09 ildar170975

2023.1.6 Do not observe this issue:

  • Chrome 109.0.5414.120, Win10x64
  • FF 109 64bit, Win10x64
  • iPhone 5S (iOS 12.5.6)

ildar170975 avatar Jan 29 '23 16:01 ildar170975

The problem seems to be solved in the new versions of home assistant.

idoaflalo avatar Jan 29 '23 16:01 idoaflalo

Seems to be solved. Closing.

ildar170975 avatar Jul 05 '23 21:07 ildar170975