I am trying to create a python script that I can run with some command line arguments. I am not a python dev at all, just trying cut/paste what I can salvage from the net.
my command would be as follows I need to pass the following argument ‘SetAnalogOut 1,200’ to turn on a switch
Thank you for your support; got the script part working now.
Now I want to get the status reported correctly in home assistant, would the following work below?