MQTT Switch channel on/off state string override works only on some things

It is irritating having to restart openHAB whenever making changes to configuration files. I use the following trick instead: