[HELP] floorplan elements won't show current switch status after HA restart

Hi All,

I can’t figure out what’s the problem. but only after I click on the switch will change the picture element and another click will change the status of the switch. Does anyone else have this issue with his floorplan view?