Hi, I am a new user to Home Assistant and Hassio and am having a bit of trouble. I found this python script https://github.com/genesisfactor/DreamScreenCommander I am able to run from the command prompt on my raspberry pi, but I cannot figure out how to integrate this into switches or scripts in Home Assistant.
I am also finding that every time I restart Home Assistant I need to re-install python2 with the command apk add --no-cache python2 before I am able to use python to run this command.
So I have two questions:
-
Is there a way I can have python2 auto installed on boot up or another way to have it stay around after a reboot?
-
How would I go about running this python program with a command line switch or some other way accessible in home assistant front end?