Bump pyvesync to 3.4.2 (#168402)

This commit is contained in:
cdnninja
2026-05-27 04:43:01 -06:00
committed by GitHub
parent 98a7cc66ef
commit efe0000fbe
6 changed files with 39 additions and 5 deletions
@@ -16,5 +16,5 @@
"iot_class": "cloud_polling",
"loggers": ["pyvesync"],
"quality_scale": "bronze",
"requirements": ["pyvesync==3.4.1"]
"requirements": ["pyvesync==3.4.2"]
}
+1 -1
View File
@@ -2785,7 +2785,7 @@ pyvera==0.3.16
pyversasense==0.0.6
# homeassistant.components.vesync
pyvesync==3.4.1
pyvesync==3.4.2
# homeassistant.components.vizio
pyvizio==0.1.61
+1 -1
View File
@@ -56,7 +56,7 @@ DEVICE_FIXTURES: dict[str, list[tuple[str, str, str]]] = {
("post", "/cloud/v2/deviceManaged/bypassV2", "air-purifier-detail.json")
],
"Dimmable Light": [
("post", "/cloud/v1/deviceManaged/deviceDetail", "device-detail.json")
("post", "/cloud/v1/deviceManaged/deviceDetail", "dimmable-light-detail.json")
],
"Temperature Light": [
("post", "/cloud/v1/deviceManaged/bypass", "light-detail.json")
@@ -0,0 +1,22 @@
{
"traceId": "1234",
"code": 0,
"msg": "request success",
"module": null,
"stacktrace": null,
"result": {
"deviceName": "Dimmable",
"name": "Dimmable",
"brightNess": "80",
"deviceStatus": "on",
"activeTime": 0,
"defaultDeviceImg": "https://image.vesync.com/defaultImages/ESL100_Series/icon_dimmable_bulb_80.png",
"timer": null,
"scheduleCount": 0,
"away": null,
"schedule": null,
"ownerShip": "1",
"deviceImg": "https://image.vesync.com/defaultImages/deviceDefaultImages/wifismartbulb_240.png",
"connectionStatus": "online"
}
}
@@ -300,6 +300,8 @@
# name: test_light_state[Dimmable Light][light.dimmable_light]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': 204,
'color_mode': <ColorMode.BRIGHTNESS: 'brightness'>,
'friendly_name': 'Dimmable Light',
'supported_color_modes': list([
<ColorMode.BRIGHTNESS: 'brightness'>,
@@ -311,7 +313,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
'state': 'on',
})
# ---
# name: test_light_state[Dimmer Switch][devices]
@@ -662,17 +662,27 @@
# name: test_update_state[Dimmable Light][update.dimmable_light_firmware]
StateSnapshot({
'attributes': ReadOnlyDict({
'auto_update': False,
'device_class': 'firmware',
'display_precision': 0,
'entity_picture': '/api/brands/integration/vesync/icon.png',
'friendly_name': 'Dimmable Light Firmware',
'in_progress': False,
'installed_version': '1.0.0',
'latest_version': '1.0.1',
'release_summary': None,
'release_url': None,
'skipped_version': None,
'supported_features': <UpdateEntityFeature: 0>,
'title': None,
'update_percentage': None,
}),
'context': <ANY>,
'entity_id': 'update.dimmable_light_firmware',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
'state': 'on',
})
# ---
# name: test_update_state[Dimmer Switch][devices]