Missing MaterialDesignIcons

I was wondering if someone can feedback on when the next MDI refresh will take place?

I have several icons from MDI that I want to use and although they’ve been available on MDI for a while, the last HA updates don’t seem to have imported them.
Examples:
mdi:leaf
mdi:power
mdi:flash-circle

Thanks

Any icon that is in the material designs website is available to use :slight_smile: regards if the local HA panel shows it :smiley:

image

Thanks @keithh666 but it definitely doesn’t show for me. How can I troubleshoot this?

Well you could post your code here so we can have a look at it :slight_smile:

When posting code please use the </> after selecting it in the edit box to preserve the formatting.

Here is an extract of my customisation file. All other icons show up as I want, but a few “refuse”

#Binary Sensors:
binary_sensor.conservatory_window:
  icon: mdi:window-closed
binary_sensor.front_cctv_disk_error:
  icon: mdi:harddisk
binary_sensor.front_cctv_disk_full:
  icon: mdi:harddisk
binary_sensor.hallway_thermostat_hvac_state:
  icon: mdi:power
binary_sensor.hallway_thermostat_has_leaf:
  icon: mdi:leaf

Hmmm it’s strange I can get those to show up :stuck_out_tongue: , only thing I can think of is that the sensors have something wrong with them.

Thanks, I took a “regular” component and changed its icon in the component definition and I can indeed see the icon displaying correctly. But when I set the icon in the customize section, it doesn’t work with some icons for some reason.
For example this doesn’t work:

binary_sensor.hallway_thermostat_has_leaf:
  icon: mdi:leaf

Yet this does:

binary_sensor.hallway_thermostat_has_leaf:
  icon: mdi:tree

I really don’t know where else to look…

oh hold on, something weird (read interesting) just happened…
I changed the icon from tree to leaf and it now works. I wonder if there’s some kind of cache that is messed up.
I’ll try other icons and see if that works, But for now the leaf one works. Go figure…

Try ctrl-F5, to clear the cache, it might help

Thanks, it’s something else as it was across browsers / platforms (e.g. also on iPhone)
Anyway that’s that for the thermostat.
The only one entity that would accept the custom icon is because it’s a custom script that sends values via the API, so at startup the entity doesn’t “really” exist, I’ll have to think of a way to define that sensor somewhere so it can get its customised icon until HA receives a value…

Did you figure this out? I have the exact same issue.

yes the way round this was to get the device sensor to be sent via MQTT with a retain flag. This way it would be available at starting and would therefore be assigned the icon from the customisation