hello i am new here. i am having a problem with my lovelace UI i have toggles setup as light switches and they work great no problems but the small mdi icon does not change colors when i toggle the switches can someone help with this not sure how to fix this issue.thanks
The reason why is here: https://www.home-assistant.io/blog/2020/02/05/release-105/#icons-no-longer-change-color-based-on-state
You need to add state_color: true
to the card.
thanks for the help.