First of all I am completely new to this kind of development.
I want to create an Midea air conditioner binding.
What I already have is an python script, which is able to auto discover if there is any midea air conditioner in the local network.
Then I have a pearl script which can handle all the different commands perfectly reliable via LAN (without the Midea cloud), like setting temp, mode, swing etc.
Since openhab bindings are in JAVA language how do I make use of the working scripts I already have ? Do they need to be converted into Java language or how exactly would that work ?