Merge branch 'main' into feature/type_8
This commit is contained in:
19
.github/workflows/_validate.bak
vendored
Normal file
19
.github/workflows/_validate.bak
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Validate with HACS
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 5 * * 6'
|
||||
|
||||
jobs:
|
||||
validate-hacs:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- name: HACS validation
|
||||
uses: "hacs/action@main"
|
||||
with:
|
||||
category: "integration"
|
||||
|
||||
16
.github/workflows/hassfest.yaml
vendored
Normal file
16
.github/workflows/hassfest.yaml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Validate with hassfest
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 6 * * 6'
|
||||
|
||||
jobs:
|
||||
validate-hassfest:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- name: HA validation
|
||||
uses: "home-assistant/actions/hassfest@master"
|
||||
28
.github/workflows/lint.yml
vendored
Normal file
28
.github/workflows/lint.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "Lint the code"
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 5 * * 6'
|
||||
|
||||
jobs:
|
||||
ruff:
|
||||
name: "Ruff"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout the repository"
|
||||
uses: "actions/checkout@main"
|
||||
|
||||
- name: "Set up Python"
|
||||
uses: actions/setup-python@main
|
||||
with:
|
||||
python-version: "3.12"
|
||||
cache: "pip"
|
||||
|
||||
- name: "Install requirements"
|
||||
run: python3 -m pip install -r requirements.txt
|
||||
|
||||
- name: "Run Ruff"
|
||||
run: python3 -m ruff check .
|
||||
22
.github/workflows/stale.yaml
vendored
Normal file
22
.github/workflows/stale.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: 'Close stale issues and PR'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '01 2 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
stale-issue-message: 'This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 8 days.'
|
||||
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity.'
|
||||
close-issue-message: 'This issue was closed because it has been stalled for 15 days with no activity.'
|
||||
exempt-issue-labels: 'bug'
|
||||
exempt-all-assignees: true
|
||||
days-before-stale: 45
|
||||
days-before-close: 15
|
||||
days-before-pr-close: -1
|
||||
@@ -16,5 +16,5 @@
|
||||
"issue_tracker": "https://github.com/patman15/hdpv_ble/issues",
|
||||
"loggers": ["hunterdouglas_powerview_ble"],
|
||||
"requirements": ["cryptography>=43.0.0"],
|
||||
"version": 0.21
|
||||
"version": "0.21"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
homeassistant==2024.8.0
|
||||
homeassistant==2024.11.0
|
||||
pip>=21.3.1
|
||||
ruff==0.6.8
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
pip>=21.3.1
|
||||
homeassistant==2024.6.0
|
||||
-r requirements.txt
|
||||
|
||||
wheel
|
||||
home-assistant-bluetooth
|
||||
habluetooth>=2.4.0
|
||||
habluetooth>=3.6.0
|
||||
bluetooth-adapters
|
||||
pytest>=8.0.2
|
||||
pytest-cov>=4.0.0
|
||||
pytest-socket>=0.5.0
|
||||
pytest-asyncio
|
||||
pytest>=8.3.3
|
||||
pytest-cov>=5.0.0
|
||||
pytest-socket>=0.7.0
|
||||
pytest-asyncio>=0.24.0
|
||||
sqlalchemy
|
||||
freezegun
|
||||
requests-mock
|
||||
@@ -16,10 +16,10 @@ aiohttp
|
||||
aiohttp_cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
bleak>=0.19.0
|
||||
bleak-retry-connector>=3.3.0
|
||||
bleak>=0.22.3
|
||||
bleak-retry-connector>=3.6.0
|
||||
bluetooth-data-tools
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
pytest-homeassistant-custom-component==0.13.132
|
||||
pytest-homeassistant-custom-component==0.13.181
|
||||
|
||||
|
||||
Reference in New Issue
Block a user