Help with MQTT things config

My new device has 2 states no and ring.
Setup is:

Type contact : ring "ring" [stateTopic="smartintercom_ring", on="ring", off="no"] 

I got error:

[ab.binding.mqtt.generic.ChannelState] - Command 'no' from channel 'mqtt:topic:mosquitto:domofon:ring' not supported by type 'OpenCloseValue': No enum constant org.openhab.core.library.types.OpenClosedType.no

Where is my mistake?

Restart of openHAB helps.

I’m not an expert but you use contact so it has OPEN CLOSE value not ON OFF.

When you edit “thing” etc you don’t need restart OH . Disable and enable thing in mainUI usually help.