Python Scripts

Python Scripts is a part of the Home Assistant python_script integration.

Python Scripts is not enabled by default in HACS (this follows default Home Assistant behavior).

Enable Python Scripts in HACS

There are 2 ways of doing this.

Enable if you used the UI to configure HACS

Add a checkmark to the left of python_scripts in the UI configuration for HACS.

configuration

For more about configuring HACS with the UI have a look here

Enable if you used YAML to configure HACS

If you used YAML to configure HACS, add this under your HACS configuration to enable Python Scripts:

hacs:
...
python_script: true

After adding that you need to restart Home Assistant.

For more about configuring HACS with YAML have a look here

Python Scripts in Home Assistant

Add this to your configuration.yaml

python_script:

Python Scripts download location

Any Python Script downloaded with HACS is stored in python_scripts/ in your Home Assistant configuration directory.

Last updated on 11/23/2019