You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if it was possible to render a material icon using a template similar to the following
secondary: >
{% set wind_speed = state_attr('weather.openweathermap','wind_speed') %}
{% set wicon = mdi:weather-windy %}
{{wicon}} {{ wind_speed }} km/h
I know I can paste in an emoji however ;
emojis don't look anything like material icons that I use extensively through all my mushroom cards and
in the future, I would like to be able to change the icon dynamically based on a template.
I know there is a PR #1397 open for something similar but I am unsure if it has been implemented and if so what syntax should I use, if not, will the PR go ahead?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I was wondering if it was possible to render a material icon using a template similar to the following
I know I can paste in an emoji however ;
I know there is a PR #1397 open for something similar but I am unsure if it has been implemented and if so what syntax should I use, if not, will the PR go ahead?
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions