Error: EventSystem: Device no. '151' used in event 'Boiler Test_1' no longer exists, disabling event!
'151' is the secondary virtual switch that "should" be toggled by the multi-state switch (also virtual)
Also, the blockly script is named 'Boiler Test' not 'Boler Test_1' as shown in the log
Any ideas?
I think the _1 tells us that the error relates to the first "if" statement in the blockly. And maybe you can check the blockly if the devicename "151" is still there in the blocky, instead of an id. When blockly shows an id, it usually doesn't know the device anymore.