diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54ac5c7..396ca5d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" - name: "Set up Python" uses: actions/setup-python@v4.5.0 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index eee08ba..5f9a2b7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,7 +25,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9418d9f..315d40b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" - name: "Adjust version number" shell: "bash" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f0ab045..1ef40ce 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" - name: "Run hassfest validation" uses: "home-assistant/actions/hassfest@master" @@ -27,7 +27,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" - name: "Run HACS validation" uses: "hacs/action@main" diff --git a/README.md b/README.md index 0547d1d..6494101 100644 --- a/README.md +++ b/README.md @@ -15,21 +15,24 @@ Platform | Description `sensor` | Show info from your 3d printer. `camera` | Printer camera if exists. -## Installation - +# Installation +## Manual installation process. 1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`). 1. If you do not have a `custom_components` directory (folder) there, you need to create it. 1. In the `custom_components` directory (folder) create a new folder called `flashforge`. 1. Download _all_ the files from the `custom_components/flashforge/` directory (folder) in this repository. 1. Place the files you downloaded in the new directory (folder) you created. +## Install through HACS +1. Add this repo as a custom repo in HACS by clicking on the three dots in the right corner in HACS +1. Select "custom repositories" and add "joseffallman/hass_flashforge" as a integration category. 1. Restart Home Assistant -1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "FlashForge" ## Configuration is done in the UI - +1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "FlashForge" -## Contributions are welcome! + +# Contributions are welcome! If you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md) diff --git a/requirements.txt b/requirements.txt index 13109d6..2bae830 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ colorlog==6.7.0 homeassistant>2022.2.0 pip>=8.0.3,<23.4 -ruff==0.0.280 +ruff==0.1.1 pytest pytest-cov>2.9.0 pytest-homeassistant-custom-component>0.13