Sonoff /Tasmota to openhabian

Hi Newbie question

Raspberry pi 4

Configuration / Things / Channels

MQTT state topic is that?


MQTT Command Topic


topic is the sonoff device topic

Is that correct?

That depends on your MQTT setup of the Tasmota device.
Assuming you have set something for the MQTT Topic ( for example MyTopic) and have left the full topic as it is, your statetopic for MQTT setup of openHAB would be:

at first glance it looks good. But without any further information it is hard to tell. Use MQTT.fx and check what the Tasmote device is sending

Many thanks just wanted to make sure