diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..61ec2d6 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,35 @@ +name: "Validate" + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" + push: + branches: + - "main" + pull_request: + branches: + - "main" + +jobs: + hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest + name: "Hassfest Validation" + runs-on: "ubuntu-latest" + steps: + - name: "Checkout the repository" + uses: "actions/checkout@v4" + + - name: "Run hassfest validation" + uses: "home-assistant/actions/hassfest@master" + + hacs: # https://github.com/hacs/action + name: "HACS Validation" + runs-on: "ubuntu-latest" + steps: + - name: "Checkout the repository" + uses: "actions/checkout@v4" + + - name: "Run HACS validation" + uses: "hacs/action@main" + with: + category: "integration" diff --git a/README.md b/README.md index 91a98d3..c1517b6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Custom component for easy use of a Pixoo64 within Home Assistant ## Installation 1. Install this integration with HACS (adding repository required), or copy the contents of this -repository into the `custom_components/random_entity` directory. +repository into the `custom_components/pixoo-homeassistant` directory. 2. Restart Home Assistant. Now edit your configuration.yaml @@ -52,6 +52,7 @@ sensor: | images | not required | | image | Path to the image including file name .png preferred | | position | The text position on a XY axis at 64x64 pixel | + If you have any further questions, I will be happy to help. ## Planned updates @@ -65,4 +66,4 @@ If you are interested in helping with the project I would love to hear from you. ## Discussions I would be happy if you present your configuration.yaml in the Discussions area -https://github.com/gickowtf/pixoo-homeassistant/discussions \ No newline at end of file +https://github.com/gickowtf/pixoo-homeassistant/discussions