Skip to content

Better allergen icons: mdi:barley for rye, and distinct icons across the board #68

Description

@krissen

Spun off from #63, where @zeus86 suggested changing the rye icon from mdi:grain to mdi:barley. Good call: mdi:grain is a dot pattern (grain as in film grain) and has nothing to do with cereal, while mdi:barley is an actual ear of grain.

Looking at the icon map as a whole, there is more to do than rye. Today 7 allergens share mdi:leaf (beech, dock/sorrel, linden, nettle family, oak, olive, plantain), 8 share mdi:tree (ash, birch, elm, plane tree, sweet chestnut, tree of heaven, willow, and alder on the outline variant), and mugwort/ragweed share mdi:flower-pollen with the default. In a device list they are hard to tell apart at a glance.

Plan for 0.5.4 (planned for about a week out):

  • rye: mdi:grainmdi:barley (already implemented on the dev branch)
  • Differentiate the remaining allergen icons: from 9 distinct icons today to 13, grouped by pollen source (deciduous trees, catkin trees, conifers, evergreens, grasses, cereals, weeds, leafy herbs, fungal spores). The MDI catalog has no species-specific plant icons, so meaningful groups beat arbitrary uniqueness; the groups roughly follow cross-reactivity, which is a bonus.

Note: these icons only show in Home Assistant's own UI (device page, entity lists, auto-generated dashboards). Pollenprognos-card uses its own icons and is unaffected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions