Switch entity state change icon stopped working

My switch entities don’t update their icons depending on their state any longer. They did do this in the past. I can’t find it in the breaking changes so far but maybe I missed something?

Can anyone point me in the right direction?