MQTT map "on" or "off" to ON/OFF

Have you searched? Here is my forst guess after searching.

BTW, you need to learn how to properly ask a question here., especially #2, 4, 9, 11

How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community