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

Wear OS: Support MDI icons in Template tile #3702

Open
slovdahl opened this issue Jul 23, 2023 · 3 comments
Open

Wear OS: Support MDI icons in Template tile #3702

slovdahl opened this issue Jul 23, 2023 · 3 comments
Labels
enhancement New feature or request Wear OS

Comments

@slovdahl
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I woud like to create a simple "dashboard"-like template tile. Emojis can help to some extent in this regard, but there's a lot more MDI icons available for visualizing things.

Describe the solution you'd like

No strong opinion on how it would be done, but one way of doing it would be to support the <ha-icon icon='mdi:foo' /> HTML tag that can also be used in Lovelace.

Describe alternatives you've considered, if any

Use emojis built-in in Android.

Additional context

This is what my Template tile currently looks like:

Screenshot_20230723_102744_sysui

@jpelgrom
Copy link
Member

jpelgrom commented Aug 9, 2023

Comment from @dshokouhi in another issue relating to this:

For something like this we may need to pick something that is unique for the app to pick up on.

In my opinion we should avoid app specific extensions to Home Assistant's templating to prevent compatibility issues now or in the future.

@slovdahl
Copy link
Contributor Author

So would a <ha-icon icon='mdi:foo' /> HTML tag be a sane way of doing it? 🤔

@dshokouhi
Copy link
Member

In my opinion we should avoid app specific extensions to Home Assistant's templating to prevent compatibility issues now or in the future.

I agree however it seems this may already have been thought of by others 😃

So would a <ha-icon icon='mdi:foo' /> HTML tag be a sane way of doing it? 🤔

Given that it is listed in the user facing documentation I think it may actually be a good way forward?

https://www.home-assistant.io/dashboards/markdown/#icons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Wear OS
Projects
None yet
Development

No branches or pull requests

3 participants