Item should look something like this:
Switch MQTT_Test2 "Study Shelly1" <switch> (SF_Study) [ "Lighting" ] { channel="mqtt:topic:mosquitto:StudyShelly1:power" }
Thing:
Bridge mqtt:broker:mosquitto "Mosquitto" [ host="0.0.0.0", secure=false, username="openhab", password="Xxxxxxx", clientID="openHAB" ]
{
Thing topic StudyShelly1 "Shelly1" @ "Room" {
Channels:
Type switch : power "Power" [ stateTopic="shellies/shelly1-045DD7/relay/0", on="on", off="off", commandTopic="shellies/shelly1-045DD7/relay/0/command", on="on", off="off" ]
}
}
Here is a link that the above was copied from. Have a look at the entire thread as you may find it helpful. Shelly1 and mqtt 2.4.0 Binding
EDIT: Also note that if your on OH version 2.4 stable you will need to restart OH after making a change to your files or at least the files concerning mqtt.