mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
This makes us call stateIcon() from computeIcon() instead of domainIcon(), and breaks out the actual icon determination logic into a separate function. I tested with a sensor in a card and a badge and it looks good.