Bump nice-go to 1.0.0 (#133185)

* Bump Nice G.O. to 1.0.0

* Mypy

* Pytest
This commit is contained in:
IceBotYT 2024-12-14 03:36:15 -05:00 committed by GitHub
parent 165ca5140c
commit bce6127264
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 3 additions and 9 deletions

View File

@ -239,7 +239,6 @@ class NiceGOUpdateCoordinator(DataUpdateCoordinator[dict[str, NiceGODevice]]):
].type, # Device type is not sent in device state update, and it can't change, so we just reuse the existing one
BarrierState(
deviceId=raw_data["deviceId"],
desired=json.loads(raw_data["desired"]),
reported=json.loads(raw_data["reported"]),
connectionState=ConnectionState(
connected=raw_data["connectionState"]["connected"],

View File

@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": ["nice_go"],
"requirements": ["nice-go==0.3.10"]
"requirements": ["nice-go==1.0.0"]
}

View File

@ -1468,7 +1468,7 @@ nextdns==4.0.0
nibe==2.14.0
# homeassistant.components.nice_go
nice-go==0.3.10
nice-go==1.0.0
# homeassistant.components.niko_home_control
niko-home-control==0.2.1

View File

@ -1231,7 +1231,7 @@ nextdns==4.0.0
nibe==2.14.0
# homeassistant.components.nice_go
nice-go==0.3.10
nice-go==1.0.0
# homeassistant.components.niko_home_control
niko-home-control==0.2.1

View File

@ -11,7 +11,6 @@
],
"state": {
"deviceId": "1",
"desired": { "key": "value" },
"reported": {
"displayName": "Test Garage 1",
"autoDisabled": false,
@ -42,7 +41,6 @@
],
"state": {
"deviceId": "2",
"desired": { "key": "value" },
"reported": {
"displayName": "Test Garage 2",
"autoDisabled": false,
@ -73,7 +71,6 @@
],
"state": {
"deviceId": "3",
"desired": { "key": "value" },
"reported": {
"displayName": "Test Garage 3",
"autoDisabled": false,
@ -101,7 +98,6 @@
],
"state": {
"deviceId": "4",
"desired": { "key": "value" },
"reported": {
"displayName": "Test Garage 4",
"autoDisabled": false,

View File

@ -81,7 +81,6 @@ async def test_firmware_update_required(
"displayName": "test-display-name",
"migrationStatus": "NOT_STARTED",
},
desired=None,
connectionState=None,
version=None,
timestamp=None,