Test Python script on Hassio

Hi,

I have not been able to manually run a Python script I have created (located at: /config/python_scripts) in Hassio.

I know how to use it in configuration.yaml, but I want to be able to run it through the CLI or the HA web app in order to test it.

Any help?

Thanks.

Seems the way to install it is:

apk add --no-cache python3

5 Likes

AFter installing, use “python3” (rather than “python”) to run the scripts.