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

Custom Card in center panel fails if not loaded in Tab. #161

Open
thamesseb2 opened this issue Jan 24, 2024 · 6 comments
Open

Custom Card in center panel fails if not loaded in Tab. #161

thamesseb2 opened this issue Jan 24, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@thamesseb2
Copy link

thamesseb2 commented Jan 24, 2024

hi
im trying to add a picture in center
like:

center:
  type: card
  content:
    type: picture
    image: /local/foto-pkg/zcs.png

but this give me custom element don't exist, is a bug or i worong something?

@neotigger
Copy link

Definitely not a bug.
Bildschirmfoto 7

@thamesseb2
Copy link
Author

image
so probably i wrong something

@neotigger
Copy link

I have to correct myself. For example, the card alone on a dashboard, the error occurs.
Together with other cards, it works
Bildschirmfoto 8
Bildschirmfoto 9

@thamesseb2
Copy link
Author

Thank goodness, I was going crazy :D

@buanet
Copy link

buanet commented Jan 28, 2024

Can confirm this. If I use the picture card in center I get the same error.
When you add a the same picture as a standalone picture card on the same dashboard it works.

Using a picture-entity card instead seems to work for me.

center:
  type: card
  content:
    type: picture-entity
    image: /local/s10.png
    entity: [some.dummy.entity]
    show_state: false
    show_name: false
    camera_view: auto
    tap_action:
      action: none
    hold_action:
      action: none

regards,
André

@JonahKr
Copy link
Owner

JonahKr commented Jan 28, 2024

Hi all!
Thanks for the report. I was able to replicate this issue, but I am not 100% sure why this occurs.
I will have to debug this, but sadly, I currently don't have that much spare time.
Stay safe!

@JonahKr JonahKr added the bug Something isn't working label Jan 28, 2024
@JonahKr JonahKr self-assigned this Jan 28, 2024
@JonahKr JonahKr changed the title use picture in center Custom Card in center panel fails if not loaded in Tab. Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants