Hi All,
If like me you are having trouble with floorplan causing the lights/switches to turn off and on mulitple times, I have finally found out what causes the problem!
At least in my case at any rate. The cause is the svg icons, when they are grouped for some reason I can’t fathom they cause multiple toggles to happen, now normally they should be grouped but if you ungroup each individual icon then find the largest piece of the icon (for instance for bulbs I chose the glass bulb) and give that the entity_id then save the file and CTRL-F5 to reload the svg into chrome it will work as intended :), the only downside is that the icon will only be filled at the point you selected as the click point, so for my example the glass of the bulb will be filled when on and unfilled when off, so that’s fine but some icons might not fair so well
Hopefully that’s understandable, if not I’ll try to do a more in depth answer.