I just noticed your reply when I was tagged by @opus.
As opus mentioned be mindful of the topic used.
Here is a sonoff device with tasmota using a Thing file example:
Thing topic sonoff11 "Living Room Light" @ "Living Room" {
Channels:
Type switch : power "Power" [ stateTopic="stat/sonoff11/POWER", commandTopic="cmnd/sonoff11/POWER" ]
Type number : temperature "Temperature" [ stateTopic="tele/sonoff11/SENSOR", transformationPattern="JSONPATH:$.SI7021.Temperature" ]
Type number : humidity "Humidity" [ stateTopic="tele/sonoff11/SENSOR", transformationPattern="JSONPATH:$.SI7021.Humidity" ]
}
BTW it’s recommended to use PaperUI for Things and files for Items.
Item file for Thing example above:
Switch LivingRoom_Light "Living Room Light" <light> ["Lighting"] { channel="mqtt:topic:pibroker:sonoff11:power" }
Number LivingRoom_Light_Temp "Temperature [%.1f °F]" <temp> { channel="mqtt:topic:pibroker:sonoff11:temperature" }
Number LivingRoom_Light_Humidity "Humidity [%.1f %%]" <humidity> { channel="mqtt:topic:pibroker:sonoff11:humidity" }
Hope this helps.