Closed chunkysteveo closed 6 months ago
@DerFlob can you take a look at this?
Got a fix for it...
PR 91 fixes this issue - https://github.com/jonasniesner/open_epaper_link_homeassistant/pull/91
Image shows three icons (ignore graph!): icon: water - works as expected again and does not pick "liquid-spot". icon: weather-partlycloudy - works as an alias of weather-partly-cloudy. icon: weather-partly-cloudy - works as an icon as expected.
Describe the bug Since PR80 https://github.com/jonasniesner/open_epaper_link_homeassistant/pull/80 to allow for alias in using icons - using an icon which has alias same as icon name causes issues.
To Reproduce Steps to reproduce the behavior: use icon
water
in an automation, and you will end up with icon "liquid-spot" icon. This has an alias of "water".Expected behavior The icon should be water - https://pictogrammers.com/library/mdi/icon/water/ The icon ends up as liquid-spot - https://pictogrammers.com/library/mdi/icon/liquid-spot/
Fix Need to update the check in the commit https://github.com/jonasniesner/open_epaper_link_homeassistant/pull/80/commits/472c6a4c00b3a1b2cfe82a4f0fc4e724be021631 to check for icon, if failed, THEN check for alias?