home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.81k stars 2.61k forks source link

Markdown card only shows title on Samsung Family Hub #19000

Open cyallater opened 7 months ago

cyallater commented 7 months ago

Checklist

Describe the issue you are experiencing

On a Samsung Family hub, only the title is shown of a Markdown card, but not the content. Content is shown correctly in other browsers/OS's and in the companion app. This is the case for markdown content as well as just plain text.

Fridge: IMG_2754

Safari

Screenshot 2023-12-10 at 20 08 00

Describe the behavior you expected

Expected to see the content on the fridge as well.

Steps to reproduce the issue

  1. Create dashboard with Markdown Card with title and content.
  2. Load dashboard on Family Hub.
  3. No content is visible
  4. ...

What version of Home Assistant Core has the issue?

2023.12.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

unknown, version 8.0.27

Which operating system are you using to run this browser?

TIZEN 6.0

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

snairolf commented 7 months ago

Same issue. This is reproducible with firefox 72.0.2

SGXander commented 6 months ago

Fairly sure this has been an issue with mine since this years family hub update (roughly July) but can't be certain. Mine has shown blank markdown cards since at least HA 2023.9.x

Tiwing1 commented 4 months ago

easily goes back to 2022.12 which is when we got our new fridge. Any updates on this issue, or any work-arounds?

additional info: card-mod css styles are reproduced fine for ha-card:

cyallater commented 4 months ago

No updates or work arounds currently. Did you want to add a link to ha-card?

cyallater commented 4 months ago

... any way to display a input_text as clickable link on the family hub is much appreciated. That way I can share a web page from my iPhone to the fridge...

SGXander commented 4 months ago

... any way to display a input_text as clickable link on the family hub is much appreciated. That way I can share a web page from my iPhone to the fridge...

You could use the mushroom template card with a template and the input_text state then the tap action as the url...

Tiwing1 commented 4 months ago

switched to type: custom:mushroom-title-card and working beautifully. Only downside I found is you can't put an <a href= > into the content like you can with Markdown. oh well, not a big deal. cheers.

cyallater commented 4 months ago

... any way to display a input_text as clickable link on the family hub is much appreciated. That way I can share a web page from my iPhone to the fridge...

You could use the mushroom template card with a template and the input_text state then the tap action as the url...

unfortunately, the content of the input_text is the url, but the action does not allow for templating, only string (I'm looking for a way to share links from my iPhone browser to the fridge)

Tiwing1 commented 3 months ago

quick update - did some work to make the card look like the standard card using custom:mushroom-title-card and card-mod. https://pastebin.com/HKD5SWZP Still the limitation of not being able to put a URL in there.

github-actions[bot] commented 1 day ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

cyallater commented 14 hours ago

The root cause is not solved: Markdown card content does not show on samsung family hub. It's probably a broader issue, since the custom Sonos card does not work as well.