Skip to content

Commit

Permalink
add ui support section to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjakobi committed Dec 2, 2023
1 parent a75ab67 commit b5d75e1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,19 @@ A- Navigate to the "Automations" section.
- Enter `https://github.com/lukasjakobi/ha-sync-announcement` into the "Repository" field.
- Choose `Python Script` as the category and click "Add."
- The repository will appear in you automations overview, click on the repository and install it via the button on the bottom right
- Run the service `python_script.reload` or reload your Home Assistant instance
- Run the service `python_script.reload` or restart your Home Assistant instance

### Manual Installation

- Download the `sync_announcements.py` file.
- Copy the file into the `homeassistant/python_scripts` folder in your Home Assistant installation.
- Run the service `python_script.reload` or reload your Home Assistant instance
- Run the service `python_script.reload` or restart your Home Assistant instance

### Enabling UI support

- Download the `services.yaml` file.
- Add the file content into the `homeassistant/python_scripts/services.yaml` file, create the file if it is not present.
- Run the service `python_script.reload` or restart your Home Assistant instance

## Running the Script
- Create a service call within Home Assistant to execute the script.
Expand Down

0 comments on commit b5d75e1

Please sign in to comment.