Can I trigger a display action from MQTT input

I would like to toggle a layer on/off in floorplan from an MQTT input. The only way I see to toggle a layer is from a button click on the screen of the floorplan. Any thoughts or suggestions?