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

Card disappears after refresh #36

Open
SEngelnkemper opened this issue Jun 10, 2020 · 5 comments
Open

Card disappears after refresh #36

SEngelnkemper opened this issue Jun 10, 2020 · 5 comments

Comments

@SEngelnkemper
Copy link

This may be related to the issue after Homeassistant 0.110 update which should be resolved with the last commit.

I'm running Homeassistant 0.110.7. The behavior is all the same across all browsers I tested, Chrome, Chromium, Firefox, Safari:

If I initially access the frontend in a new browser window/tab the cards show up as usual. After refreshing the respective window/tab alle cards come back except the state-switch cards. They simply disappear. However, in the UI-Editor they are of course still present.

I use the cards without any transitions, heres an example:

- type: 'custom:state-switch'
  default: above_horizon
  entity: sun.sun
  states:
    above_horizon:
      aspect_ratio: 80%
      type: iframe
      url: /local/windy_panel_day.html
    below_horizon:
      aspect_ratio: 80%
      type: iframe
      url: /local/windy_panel_night.html
@bcutter
Copy link

bcutter commented May 15, 2021

Probably related to #41 ?
Check if you´re using state-switch correctly. Maybe the card type is missing at all.

@thomasloven
Copy link
Owner

Please try release 1.9.0

@John5373
Copy link

John5373 commented Nov 30, 2021

Having this same issue recently, but it is limited to a specific state. Running the latest versions of everything and the card is a picture-elements card with card-mod. I have to switch states to get the card to show up.

@AndyVRD
Copy link

AndyVRD commented Aug 7, 2022

I'm still experience this behaviorw with the latest 1.9.5 version. It seems that the delay is longer on iOS than Chrome. Is there any ETA wen this will be fixed? Thx in advance

@domenix
Copy link

domenix commented Nov 17, 2022

I am experiencing the exact same issue. Refresh usually fixes it, but it could be troublesome on a wall tablet that is in Kiosk mode. Not sure if it could affect it, but I am using the Jinja templating and the template property as well. If I use the template directly in the entity parameter, it still behaves the same way.
Doesn't matter if I define two states or just one with default.

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

6 participants