[SOLVED] Switch and icon update via MQTT

If you plan many MQTT items in your Installation, I would recommend not to bother with individual bindings and instead configure MQTT event bus layer in openhab.cfg file. In this case you get automatically all topics for commands, states and feedback updates for each item.
See my post Node-RED as a rule/script engine for OpenHAB and MQTT wiki