-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from zxdavb/dev
Update to 1.0.5
- Loading branch information
Showing
46 changed files
with
1,838 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Linting | |
|
||
on: | ||
push: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-lint.yml", | ||
"src/**.py", | ||
|
@@ -13,7 +13,7 @@ on: | |
] | ||
|
||
pull_request: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-lint.yml", | ||
"src/**.py", | ||
|
@@ -41,6 +41,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Testing | |
|
||
on: | ||
push: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-test.yml", | ||
"src/**.py", | ||
|
@@ -13,7 +13,7 @@ on: | |
] | ||
|
||
pull_request: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-test.yml", | ||
"src/**.py", | ||
|
@@ -35,7 +35,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11", "3.12"] | ||
python-version: ["3.12", "3.13.0-rc.1"] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -44,6 +44,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Typing | |
|
||
on: | ||
push: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-type.yml", | ||
"src/**.py", | ||
|
@@ -14,7 +14,7 @@ on: | |
] | ||
|
||
pull_request: | ||
branches: [ "master", "stable" ] | ||
branches: [ "master", "dev" ] | ||
paths: [ | ||
".github/workflows/check-type.yml", | ||
"src/**.py", | ||
|
@@ -43,6 +43,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -51,6 +52,6 @@ jobs: | |
pip install -r requirements_dev.txt | ||
- name: Check with mypy | ||
run: mypy | ||
run: mypy --enable-incomplete-feature=NewGenericSyntax | ||
|
||
- run: echo "🍏 This job's status is ${{ job.status }}." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# last checked/updated: 2024/06/24 (c.f. HA 2023.6.4) | ||
# last checked/updated: 2024/08/31 (c.f. HA 2023.10.x) | ||
# | ||
|
||
# used by library (but not enough for CLI) | ||
aiohttp>=3.10.5 | ||
voluptuous>=0.15.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
RequestFailed, | ||
) | ||
|
||
__version__ = "1.0.4" | ||
__version__ = "1.0.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
tests/tests/snapshots/test_installs/test_system_snapshot/default/control_system.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
activeFaults: &id001 [] | ||
active_faults: *id001 | ||
allowedSystemModes: | ||
- canBePermanent: true | ||
canBeTemporary: false | ||
systemMode: HeatingOff | ||
- canBePermanent: true | ||
canBeTemporary: false | ||
systemMode: Auto | ||
- canBePermanent: true | ||
canBeTemporary: false | ||
systemMode: AutoWithReset | ||
- canBePermanent: true | ||
canBeTemporary: true | ||
maxDuration: 1.00:00:00 | ||
systemMode: AutoWithEco | ||
timingMode: Duration | ||
timingResolution: 01:00:00 | ||
- canBePermanent: true | ||
canBeTemporary: true | ||
maxDuration: 99.00:00:00 | ||
systemMode: Away | ||
timingMode: Period | ||
timingResolution: 1.00:00:00 | ||
- canBePermanent: true | ||
canBeTemporary: true | ||
maxDuration: 99.00:00:00 | ||
systemMode: DayOff | ||
timingMode: Period | ||
timingResolution: 1.00:00:00 | ||
- canBePermanent: true | ||
canBeTemporary: true | ||
maxDuration: 99.00:00:00 | ||
systemMode: Custom | ||
timingMode: Period | ||
timingResolution: 1.00:00:00 | ||
modelType: EvoTouch | ||
systemId: '3432522' | ||
systemModeStatus: | ||
isPermanent: true | ||
mode: AutoWithEco | ||
system_mode: AutoWithEco |
1 change: 0 additions & 1 deletion
1
tests/tests/snapshots/test_installs/test_system_snapshot/default/default
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
tests/tests/snapshots/test_installs/test_system_snapshot/default/gateway.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
active_faults: [] | ||
gatewayId: '2499896' | ||
isWiFi: false | ||
mac: 00D02DEE4E56 |
28 changes: 28 additions & 0 deletions
28
tests/tests/snapshots/test_installs/test_system_snapshot/default/hot_water.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
activeFaults: &id001 [] | ||
active_faults: *id001 | ||
allowedModes: &id002 | ||
- FollowSchedule | ||
- PermanentOverride | ||
- TemporaryOverride | ||
dhwId: '3933910' | ||
dhwStateCapabilitiesResponse: | ||
allowedModes: *id002 | ||
allowedStates: | ||
- 'On' | ||
- 'Off' | ||
maxDuration: 1.00:00:00 | ||
timingResolution: 00:10:00 | ||
mode: PermanentOverride | ||
name: Domestic Hot Water | ||
scheduleCapabilitiesResponse: | ||
maxSwitchpointsPerDay: 6 | ||
minSwitchpointsPerDay: 1 | ||
timingResolution: 00:10:00 | ||
state: 'Off' | ||
stateStatus: | ||
mode: PermanentOverride | ||
state: 'Off' | ||
temperature: 23.0 | ||
temperatureStatus: | ||
isAvailable: true | ||
temperature: 23.0 |
16 changes: 16 additions & 0 deletions
16
tests/tests/snapshots/test_installs/test_system_snapshot/default/location.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
country: UnitedKingdom | ||
locationId: '2738909' | ||
locationOwner: | ||
firstname: David | ||
lastname: '********' | ||
userId: '2263181' | ||
username: [email protected] | ||
locationType: Residential | ||
name: My Home | ||
timeZone: | ||
currentOffsetMinutes: 60 | ||
displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London | ||
offsetMinutes: 0 | ||
supportsDaylightSaving: true | ||
timeZoneId: GMTStandardTime | ||
useDaylightSaveSwitching: true |
Oops, something went wrong.