State_image not updating in Picture Elements Floorplan

Like many here, I am using a Picture elements card to show a live floorplan of my home. In the last couple of weeks since the new update, something seems to have broken the state_image update. It used to automatically switch images when I clicked to turn on a light. Now, it only seems to update when I refresh the page. Is there something wrong in my code, or is this a bug others have been seeing?

Repo: https://github.com/lhassell/Home-AssistantConfig