In the UI for some items we have displayed the messages ON OFF and for other devices it is not displayed

You have not asked for any [state presentation] in any of your Items. So you get the default, which can vary depending how Items are configured (and can be no display).

Switch          LuminaA2         "Bedroom1 [%s]" ...