Existing Item types and their reasons

Hi @rikoshak,
I stumbled across this post while playing around with Openhab 2.4.0. I was trying to display the state of the switch item (for Hue Bulb) with only read access in the control tab. A simple solution would be to have a different item type with only read access to the switch state but I couldn’t find examples of somebody using the “String” item type either.

I think this is useful when somebody just wants to share the state of the device while integrating 3rd party service or maybe allowing access to only one command on the device e.g., only allowing lock but disabling unlock.

I’d appreciate if somebody posted a link to tutorial which tries to accomplish similar functionality. I’m new to Openhab and I might be misunderstanding the architecture design itself.

Thank you.