ESPEasy with multiple states

Tags: #<Tag:0x00007fc1fc9c7848> #<Tag:0x00007fc1fc9c7618> #<Tag:0x00007fc1fc9c74b0>


I have a Espeasy unit which can communicate with my fan.
This fan has four different states.
With Mosquito i can change the state with the following command:" ESP_ITHO/Fan/cmd State X " where X can be 1 to 4.
Somehow i can’t get it to work with OH so that the unit receives the commands.

How can i put this in a things file the correct way?

Create the thing in PaperUI and place the item in files. PaperUI will give the correct syntax for the item channel.