To add an image to a text line the tags "![Image] (http://url/a.png)" can be used.
Is it possible to use a url to the HA-icons?
To add an image to a text line the tags "![Image] (http://url/a.png)" can be used.
Is it possible to use a url to the HA-icons?
I’m not clear on what you mean but this is how I’m displaying images through the markdown card:
- type: markdown
content: >
## [![Home](/local/images/menu/double-left_16.png)](/lovelace/home?kiosk&show_tabs) LIVING ROOM
It works for local image files like this:
![Image](/local/IoTDevices/PSM-29ZBSR.png)
What I am trying to do, is to use MaterialDesign icons used in HA.
![Image](mdi:smoke-detector)
This does not work. Is there a work around?
I would like to know this as well.
I was looking for the same thing and found this:
content: |
<ha-icon icon="mdi:home-assistant"></ha-icon>
type: markdown
Thanks, @frogbot!
I’ve added it to the documentation: https://www.home-assistant.io/lovelace/markdown/#icons