From b695024c26ec25f39c16055d0122a668a5af8d77 Mon Sep 17 00:00:00 2001 From: cdnninja Date: Sun, 3 Mar 2024 16:30:04 -0700 Subject: [PATCH 1/2] fix: add iot class --- custom_components/audiconnect/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/audiconnect/manifest.json b/custom_components/audiconnect/manifest.json index b6b00008..04dd9102 100644 --- a/custom_components/audiconnect/manifest.json +++ b/custom_components/audiconnect/manifest.json @@ -4,6 +4,7 @@ "config_flow": true, "documentation": "https://github.com/arjenvrh/audi_connect_ha", "integration_type": "hub", + "iot_class": "cloud_polling", "issue_tracker": "https://github.com/arjenvrh/audi_connect_ha/issues", "requirements": ["beautifulsoup4"], "dependencies": [], From da2a42cfcb4bd4f37143a47bd2dc9beb90dc070f Mon Sep 17 00:00:00 2001 From: cdnninja Date: Sun, 3 Mar 2024 16:32:01 -0700 Subject: [PATCH 2/2] Delete .github/workflows/lint.yaml --- .github/workflows/lint.yaml | 44 ------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index 330667a9..00000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: Lint - -on: - pull_request_target: - branches: - - master - -jobs: - matrix: - runs-on: ubuntu-latest - name: Run ${{ matrix.checks }} - strategy: - matrix: - checks: - - pyupgrade - - black - - check-executables-have-shebangs - - check-json - - requirements-txt-fixer - - check-ast - - mixed-line-ending - steps: - - name: Check out repository - uses: actions/checkout@v4 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - token: ${{ secrets.PAT }} - - name: Set up Python - uses: actions/setup-python@v5 - id: python - with: - python-version: "3.x" - - name: Install pre-commit - run: | - python3 -m pip install pre-commit - pre-commit install-hooks --config .github/pre-commit-config.yaml - - name: Run the check (${{ matrix.checks }}) - run: pre-commit run --hook-stage manual ${{ matrix.checks }} --all-files --config .github/pre-commit-config.yaml - - name: Commit Changes - if: failure() - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "fix: ${{ matrix.checks }} action"