From 22706d02a710412a9413532d201ea990df8cfeb1 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Fri, 5 Dec 2025 12:27:38 +0000 Subject: [PATCH] Bump evohome-async to 1.0.6 (#158005) --- .../components/evohome/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/evohome/const.py | 1 + .../fixtures/h157546/schedule_10090505.json | 67 ++++ .../fixtures/h157546/schedule_10090506.json | 151 ++++++++ .../fixtures/h157546/schedule_10090507.json | 67 ++++ .../fixtures/h157546/schedule_10090508.json | 123 +++++++ .../fixtures/h157546/schedule_10090509.json | 115 ++++++ .../fixtures/h157546/status_7647411.json | 86 +++++ .../fixtures/h157546/user_account.json | 11 + .../fixtures/h157546/user_locations.json | 224 ++++++++++++ .../evohome/snapshots/test_climate.ambr | 332 ++++++++++++++++++ .../evohome/snapshots/test_init.ambr | 3 + 14 files changed, 1183 insertions(+), 3 deletions(-) create mode 100644 tests/components/evohome/fixtures/h157546/schedule_10090505.json create mode 100644 tests/components/evohome/fixtures/h157546/schedule_10090506.json create mode 100644 tests/components/evohome/fixtures/h157546/schedule_10090507.json create mode 100644 tests/components/evohome/fixtures/h157546/schedule_10090508.json create mode 100644 tests/components/evohome/fixtures/h157546/schedule_10090509.json create mode 100644 tests/components/evohome/fixtures/h157546/status_7647411.json create mode 100644 tests/components/evohome/fixtures/h157546/user_account.json create mode 100644 tests/components/evohome/fixtures/h157546/user_locations.json diff --git a/homeassistant/components/evohome/manifest.json b/homeassistant/components/evohome/manifest.json index 21c8874135ac..5c4169217148 100644 --- a/homeassistant/components/evohome/manifest.json +++ b/homeassistant/components/evohome/manifest.json @@ -6,5 +6,5 @@ "iot_class": "cloud_polling", "loggers": ["evohome", "evohomeasync", "evohomeasync2"], "quality_scale": "legacy", - "requirements": ["evohome-async==1.0.5"] + "requirements": ["evohome-async==1.0.6"] } diff --git a/requirements_all.txt b/requirements_all.txt index 36fa94da4e44..f47d27db5045 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -935,7 +935,7 @@ eufylife-ble-client==0.1.8 # evdev==1.6.1 # homeassistant.components.evohome -evohome-async==1.0.5 +evohome-async==1.0.6 # homeassistant.components.bryant_evolution evolutionhttp==0.0.18 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index ca3a22b7d8a2..f400128cc2df 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -823,7 +823,7 @@ eternalegypt==0.0.16 eufylife-ble-client==0.1.8 # homeassistant.components.evohome -evohome-async==1.0.5 +evohome-async==1.0.6 # homeassistant.components.bryant_evolution evolutionhttp==0.0.18 diff --git a/tests/components/evohome/const.py b/tests/components/evohome/const.py index dceb2f60a062..b558278bb206 100644 --- a/tests/components/evohome/const.py +++ b/tests/components/evohome/const.py @@ -16,6 +16,7 @@ TEST_INSTALLS: Final = ( "h032585", # VisionProWifi: no preset modes for TCS, zoneId=systemId "h099625", # RoundThermostat "h139906", # zone with null schedule + "h157546", # tcs with long 8-digit system_id "sys_004", # RoundModulation ) # "botched", # as default: but with activeFaults, ghost zones & unknown types diff --git a/tests/components/evohome/fixtures/h157546/schedule_10090505.json b/tests/components/evohome/fixtures/h157546/schedule_10090505.json new file mode 100644 index 000000000000..ab71518561f7 --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/schedule_10090505.json @@ -0,0 +1,67 @@ +{ + "dailySchedules": [ + { + "dayOfWeek": "Monday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Tuesday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Wednesday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Thursday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Friday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Saturday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Sunday", + "switchpoints": [ + { + "heatSetpoint": 5.0, + "timeOfDay": "00:00:00" + } + ] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/schedule_10090506.json b/tests/components/evohome/fixtures/h157546/schedule_10090506.json new file mode 100644 index 000000000000..5cf271094790 --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/schedule_10090506.json @@ -0,0 +1,151 @@ +{ + "dailySchedules": [ + { + "dayOfWeek": "Monday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "21:00:00" + } + ] + }, + { + "dayOfWeek": "Tuesday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Wednesday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "21:00:00" + } + ] + }, + { + "dayOfWeek": "Thursday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "21:00:00" + } + ] + }, + { + "dayOfWeek": "Friday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "22:00:00" + } + ] + }, + { + "dayOfWeek": "Saturday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "01:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "09:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "11:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "22:00:00" + } + ] + }, + { + "dayOfWeek": "Sunday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "01:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "09:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "11:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "21:00:00" + } + ] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/schedule_10090507.json b/tests/components/evohome/fixtures/h157546/schedule_10090507.json new file mode 100644 index 000000000000..4aa293b803c9 --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/schedule_10090507.json @@ -0,0 +1,67 @@ +{ + "dailySchedules": [ + { + "dayOfWeek": "Monday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Tuesday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Wednesday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Thursday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Friday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Saturday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Sunday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/schedule_10090508.json b/tests/components/evohome/fixtures/h157546/schedule_10090508.json new file mode 100644 index 000000000000..3435cb8ccb3f --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/schedule_10090508.json @@ -0,0 +1,123 @@ +{ + "dailySchedules": [ + { + "dayOfWeek": "Monday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Tuesday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Wednesday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "08:30:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Thursday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "09:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Friday", + "switchpoints": [ + { + "heatSetpoint": 18.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 18.0, + "timeOfDay": "07:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "09:00:00" + }, + { + "heatSetpoint": 15.0, + "timeOfDay": "17:00:00" + } + ] + }, + { + "dayOfWeek": "Saturday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + }, + { + "dayOfWeek": "Sunday", + "switchpoints": [ + { + "heatSetpoint": 15.0, + "timeOfDay": "00:00:00" + } + ] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/schedule_10090509.json b/tests/components/evohome/fixtures/h157546/schedule_10090509.json new file mode 100644 index 000000000000..e313c18c8c4f --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/schedule_10090509.json @@ -0,0 +1,115 @@ +{ + "dailySchedules": [ + { + "dayOfWeek": "Monday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "08:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "17:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "23:00:00" + } + ] + }, + { + "dayOfWeek": "Tuesday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "08:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "17:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "23:00:00" + } + ] + }, + { + "dayOfWeek": "Wednesday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "08:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "17:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "23:00:00" + } + ] + }, + { + "dayOfWeek": "Thursday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "08:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "17:30:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "23:00:00" + } + ] + }, + { + "dayOfWeek": "Friday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "08:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "17:30:00" + } + ] + }, + { + "dayOfWeek": "Saturday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "11:00:00" + } + ] + }, + { + "dayOfWeek": "Sunday", + "switchpoints": [ + { + "heatSetpoint": 19.0, + "timeOfDay": "00:00:00" + }, + { + "heatSetpoint": 20.0, + "timeOfDay": "11:00:00" + }, + { + "heatSetpoint": 19.0, + "timeOfDay": "23:00:00" + } + ] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/status_7647411.json b/tests/components/evohome/fixtures/h157546/status_7647411.json new file mode 100644 index 000000000000..de107ecabb6a --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/status_7647411.json @@ -0,0 +1,86 @@ +{ + "locationId": "7647411", + "gateways": [ + { + "gatewayId": "7539089", + "temperatureControlSystems": [ + { + "systemId": "10090510", + "zones": [ + { + "zoneId": "10090505", + "temperatureStatus": { + "temperature": 15.5, + "isAvailable": true + }, + "activeFaults": [], + "setpointStatus": { + "targetHeatTemperature": 5.0, + "setpointMode": "FollowSchedule" + }, + "name": "Ba******" + }, + { + "zoneId": "10090506", + "temperatureStatus": { + "temperature": 18.0, + "isAvailable": true + }, + "activeFaults": [], + "setpointStatus": { + "targetHeatTemperature": 18.0, + "setpointMode": "FollowSchedule" + }, + "name": "Sl********" + }, + { + "zoneId": "10090507", + "temperatureStatus": { + "temperature": 16.0, + "isAvailable": true + }, + "activeFaults": [], + "setpointStatus": { + "targetHeatTemperature": 15.0, + "setpointMode": "FollowSchedule" + }, + "name": "Ka*********" + }, + { + "zoneId": "10090508", + "temperatureStatus": { + "temperature": 17.0, + "isAvailable": true + }, + "activeFaults": [], + "setpointStatus": { + "targetHeatTemperature": 15.0, + "setpointMode": "FollowSchedule" + }, + "name": "Ka*****" + }, + { + "zoneId": "10090509", + "temperatureStatus": { + "temperature": 19.0, + "isAvailable": true + }, + "activeFaults": [], + "setpointStatus": { + "targetHeatTemperature": 19.0, + "setpointMode": "FollowSchedule" + }, + "name": "Wo*******" + } + ], + "activeFaults": [], + "systemModeStatus": { + "mode": "Auto", + "isPermanent": true + } + } + ], + "activeFaults": [] + } + ] +} diff --git a/tests/components/evohome/fixtures/h157546/user_account.json b/tests/components/evohome/fixtures/h157546/user_account.json new file mode 100644 index 000000000000..7a5485154b58 --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/user_account.json @@ -0,0 +1,11 @@ +{ + "userId": "6297358", + "username": "nobody@nowhere.com", + "firstname": "Da***", + "lastname": "Sp*****", + "streetAddress": "********** **", + "city": "**********", + "postcode": "******", + "country": "Netherlands", + "language": "nlNL" +} diff --git a/tests/components/evohome/fixtures/h157546/user_locations.json b/tests/components/evohome/fixtures/h157546/user_locations.json new file mode 100644 index 000000000000..f96f2ab76daf --- /dev/null +++ b/tests/components/evohome/fixtures/h157546/user_locations.json @@ -0,0 +1,224 @@ +[ + { + "locationInfo": { + "locationId": "7647411", + "name": "Kl********", + "streetAddress": "********** **", + "city": "**********", + "country": "Netherlands", + "postcode": "******", + "locationType": "Residential", + "useDaylightSaveSwitching": true, + "timeZone": { + "timeZoneId": "WEuropeStandardTime", + "displayName": "(UTC+01:00) Amsterdam, Berlijn, Bern, Rome, Stockholm, Wenen", + "offsetMinutes": 60, + "currentOffsetMinutes": 60, + "supportsDaylightSaving": true + }, + "locationOwner": { + "userId": "6297358", + "username": "nobody@nowhere.com", + "firstname": "Da***", + "lastname": "Sp*****" + } + }, + "gateways": [ + { + "gatewayInfo": { + "gatewayId": "7539089", + "mac": "************", + "crc": "****", + "isWiFi": false + }, + "temperatureControlSystems": [ + { + "systemId": "10090510", + "modelType": "EvoTouch", + "zones": [ + { + "zoneId": "10090505", + "modelType": "HeatingZone", + "setpointCapabilities": { + "maxHeatSetpoint": 35.0, + "minHeatSetpoint": 5.0, + "valueResolution": 0.5, + "canControlHeat": true, + "canControlCool": false, + "allowedSetpointModes": [ + "PermanentOverride", + "FollowSchedule", + "TemporaryOverride" + ], + "maxDuration": "1.00:00:00", + "timingResolution": "00:10:00" + }, + "scheduleCapabilities": { + "maxSwitchpointsPerDay": 6, + "minSwitchpointsPerDay": 1, + "timingResolution": "00:10:00", + "setpointValueResolution": 0.5 + }, + "name": "Ba******", + "zoneType": "UnderfloorHeating" + }, + { + "zoneId": "10090506", + "modelType": "HeatingZone", + "setpointCapabilities": { + "maxHeatSetpoint": 35.0, + "minHeatSetpoint": 5.0, + "valueResolution": 0.5, + "canControlHeat": true, + "canControlCool": false, + "allowedSetpointModes": [ + "PermanentOverride", + "FollowSchedule", + "TemporaryOverride" + ], + "maxDuration": "1.00:00:00", + "timingResolution": "00:10:00" + }, + "scheduleCapabilities": { + "maxSwitchpointsPerDay": 6, + "minSwitchpointsPerDay": 1, + "timingResolution": "00:10:00", + "setpointValueResolution": 0.5 + }, + "name": "Sl********", + "zoneType": "UnderfloorHeating" + }, + { + "zoneId": "10090507", + "modelType": "HeatingZone", + "setpointCapabilities": { + "maxHeatSetpoint": 35.0, + "minHeatSetpoint": 5.0, + "valueResolution": 0.5, + "canControlHeat": true, + "canControlCool": false, + "allowedSetpointModes": [ + "PermanentOverride", + "FollowSchedule", + "TemporaryOverride" + ], + "maxDuration": "1.00:00:00", + "timingResolution": "00:10:00" + }, + "scheduleCapabilities": { + "maxSwitchpointsPerDay": 6, + "minSwitchpointsPerDay": 1, + "timingResolution": "00:10:00", + "setpointValueResolution": 0.5 + }, + "name": "Ka*********", + "zoneType": "UnderfloorHeating" + }, + { + "zoneId": "10090508", + "modelType": "HeatingZone", + "setpointCapabilities": { + "maxHeatSetpoint": 35.0, + "minHeatSetpoint": 5.0, + "valueResolution": 0.5, + "canControlHeat": true, + "canControlCool": false, + "allowedSetpointModes": [ + "PermanentOverride", + "FollowSchedule", + "TemporaryOverride" + ], + "maxDuration": "1.00:00:00", + "timingResolution": "00:10:00" + }, + "scheduleCapabilities": { + "maxSwitchpointsPerDay": 6, + "minSwitchpointsPerDay": 1, + "timingResolution": "00:10:00", + "setpointValueResolution": 0.5 + }, + "name": "Ka*****", + "zoneType": "UnderfloorHeating" + }, + { + "zoneId": "10090509", + "modelType": "HeatingZone", + "setpointCapabilities": { + "maxHeatSetpoint": 35.0, + "minHeatSetpoint": 5.0, + "valueResolution": 0.5, + "canControlHeat": true, + "canControlCool": false, + "allowedSetpointModes": [ + "PermanentOverride", + "FollowSchedule", + "TemporaryOverride" + ], + "maxDuration": "1.00:00:00", + "timingResolution": "00:10:00" + }, + "scheduleCapabilities": { + "maxSwitchpointsPerDay": 6, + "minSwitchpointsPerDay": 1, + "timingResolution": "00:10:00", + "setpointValueResolution": 0.5 + }, + "name": "Wo*******", + "zoneType": "ZoneValves" + } + ], + "allowedSystemModes": [ + { + "systemMode": "Auto", + "canBePermanent": true, + "canBeTemporary": false + }, + { + "systemMode": "AutoWithEco", + "canBePermanent": true, + "canBeTemporary": true, + "maxDuration": "1.00:00:00", + "timingResolution": "01:00:00", + "timingMode": "Duration" + }, + { + "systemMode": "AutoWithReset", + "canBePermanent": true, + "canBeTemporary": false + }, + { + "systemMode": "Away", + "canBePermanent": true, + "canBeTemporary": true, + "maxDuration": "99.00:00:00", + "timingResolution": "1.00:00:00", + "timingMode": "Period" + }, + { + "systemMode": "DayOff", + "canBePermanent": true, + "canBeTemporary": true, + "maxDuration": "99.00:00:00", + "timingResolution": "1.00:00:00", + "timingMode": "Period" + }, + { + "systemMode": "HeatingOff", + "canBePermanent": true, + "canBeTemporary": false + }, + { + "systemMode": "Custom", + "canBePermanent": true, + "canBeTemporary": true, + "maxDuration": "99.00:00:00", + "timingResolution": "1.00:00:00", + "timingMode": "Period" + } + ] + } + ] + } + ] + } +] diff --git a/tests/components/evohome/snapshots/test_climate.ambr b/tests/components/evohome/snapshots/test_climate.ambr index 7fb0ae5aaecd..7df09e7a93a5 100644 --- a/tests/components/evohome/snapshots/test_climate.ambr +++ b/tests/components/evohome/snapshots/test_climate.ambr @@ -39,6 +39,16 @@ ), ]) # --- +# name: test_ctl_set_hvac_mode[h157546] + list([ + tuple( + , + ), + tuple( + , + ), + ]) +# --- # name: test_ctl_set_hvac_mode[minimal] list([ tuple( @@ -87,6 +97,13 @@ ), ]) # --- +# name: test_ctl_turn_off[h157546] + list([ + tuple( + , + ), + ]) +# --- # name: test_ctl_turn_off[minimal] list([ tuple( @@ -129,6 +146,13 @@ ), ]) # --- +# name: test_ctl_turn_on[h157546] + list([ + tuple( + , + ), + ]) +# --- # name: test_ctl_turn_on[minimal] list([ tuple( @@ -1272,6 +1296,280 @@ 'state': 'heat', }) # --- +# name: test_setup_platform[h157546][climate.ba-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 15.5, + 'friendly_name': 'Ba******', + 'hvac_modes': list([ + , + , + ]), + 'max_temp': 35.0, + 'min_temp': 5.0, + 'preset_mode': 'none', + 'preset_modes': list([ + 'none', + 'temporary', + 'permanent', + ]), + 'status': dict({ + 'activeFaults': tuple( + ), + 'setpoint_status': dict({ + 'setpoint_mode': 'FollowSchedule', + 'target_heat_temperature': 5.0, + }), + 'setpoints': dict({ + 'next_sp_from': HAFakeDatetime(2024, 7, 10, 22, 10, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'next_sp_temp': 18.6, + 'this_sp_from': HAFakeDatetime(2024, 7, 10, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'this_sp_temp': 16.0, + }), + 'temperature_status': dict({ + 'is_available': True, + 'temperature': 15.5, + }), + 'zone_id': '10090505', + }), + 'supported_features': , + 'temperature': 5.0, + }), + 'context': , + 'entity_id': 'climate.ba', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- +# name: test_setup_platform[h157546][climate.ka-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 16.0, + 'friendly_name': 'Ka*********', + 'hvac_modes': list([ + , + , + ]), + 'max_temp': 35.0, + 'min_temp': 5.0, + 'preset_mode': 'none', + 'preset_modes': list([ + 'none', + 'temporary', + 'permanent', + ]), + 'status': dict({ + 'activeFaults': tuple( + ), + 'setpoint_status': dict({ + 'setpoint_mode': 'FollowSchedule', + 'target_heat_temperature': 15.0, + }), + 'setpoints': dict({ + 'next_sp_from': HAFakeDatetime(2024, 7, 10, 22, 10, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'next_sp_temp': 18.6, + 'this_sp_from': HAFakeDatetime(2024, 7, 10, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'this_sp_temp': 16.0, + }), + 'temperature_status': dict({ + 'is_available': True, + 'temperature': 16.0, + }), + 'zone_id': '10090507', + }), + 'supported_features': , + 'temperature': 15.0, + }), + 'context': , + 'entity_id': 'climate.ka', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'heat', + }) +# --- +# name: test_setup_platform[h157546][climate.ka_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 17.0, + 'friendly_name': 'Ka*****', + 'hvac_modes': list([ + , + , + ]), + 'max_temp': 35.0, + 'min_temp': 5.0, + 'preset_mode': 'none', + 'preset_modes': list([ + 'none', + 'temporary', + 'permanent', + ]), + 'status': dict({ + 'activeFaults': tuple( + ), + 'setpoint_status': dict({ + 'setpoint_mode': 'FollowSchedule', + 'target_heat_temperature': 15.0, + }), + 'setpoints': dict({ + 'next_sp_from': HAFakeDatetime(2024, 7, 10, 22, 10, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'next_sp_temp': 18.6, + 'this_sp_from': HAFakeDatetime(2024, 7, 10, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'this_sp_temp': 16.0, + }), + 'temperature_status': dict({ + 'is_available': True, + 'temperature': 17.0, + }), + 'zone_id': '10090508', + }), + 'supported_features': , + 'temperature': 15.0, + }), + 'context': , + 'entity_id': 'climate.ka_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'heat', + }) +# --- +# name: test_setup_platform[h157546][climate.kl-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 17.1, + 'friendly_name': 'Kl********', + 'hvac_modes': list([ + , + , + ]), + 'icon': 'mdi:thermostat', + 'max_temp': 35, + 'min_temp': 7, + 'preset_mode': None, + 'preset_modes': list([ + 'eco', + 'Reset', + 'away', + 'home', + 'Custom', + ]), + 'status': dict({ + 'activeSystemFaults': tuple( + ), + 'system_id': '10090510', + 'system_mode_status': dict({ + 'is_permanent': True, + 'mode': 'Auto', + }), + }), + 'supported_features': , + }), + 'context': , + 'entity_id': 'climate.kl', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'heat', + }) +# --- +# name: test_setup_platform[h157546][climate.sl-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 18.0, + 'friendly_name': 'Sl********', + 'hvac_modes': list([ + , + , + ]), + 'max_temp': 35.0, + 'min_temp': 5.0, + 'preset_mode': 'none', + 'preset_modes': list([ + 'none', + 'temporary', + 'permanent', + ]), + 'status': dict({ + 'activeFaults': tuple( + ), + 'setpoint_status': dict({ + 'setpoint_mode': 'FollowSchedule', + 'target_heat_temperature': 18.0, + }), + 'setpoints': dict({ + 'next_sp_from': HAFakeDatetime(2024, 7, 10, 22, 10, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'next_sp_temp': 18.6, + 'this_sp_from': HAFakeDatetime(2024, 7, 10, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'this_sp_temp': 16.0, + }), + 'temperature_status': dict({ + 'is_available': True, + 'temperature': 18.0, + }), + 'zone_id': '10090506', + }), + 'supported_features': , + 'temperature': 18.0, + }), + 'context': , + 'entity_id': 'climate.sl', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'heat', + }) +# --- +# name: test_setup_platform[h157546][climate.wo-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'current_temperature': 19.0, + 'friendly_name': 'Wo*******', + 'hvac_modes': list([ + , + , + ]), + 'max_temp': 35.0, + 'min_temp': 5.0, + 'preset_mode': 'none', + 'preset_modes': list([ + 'none', + 'temporary', + 'permanent', + ]), + 'status': dict({ + 'activeFaults': tuple( + ), + 'setpoint_status': dict({ + 'setpoint_mode': 'FollowSchedule', + 'target_heat_temperature': 19.0, + }), + 'setpoints': dict({ + 'next_sp_from': HAFakeDatetime(2024, 7, 10, 22, 10, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'next_sp_temp': 18.6, + 'this_sp_from': HAFakeDatetime(2024, 7, 10, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), + 'this_sp_temp': 16.0, + }), + 'temperature_status': dict({ + 'is_available': True, + 'temperature': 19.0, + }), + 'zone_id': '10090509', + }), + 'supported_features': , + 'temperature': 19.0, + }), + 'context': , + 'entity_id': 'climate.wo', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'heat', + }) +# --- # name: test_setup_platform[minimal][climate.main_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ @@ -1473,6 +1771,13 @@ ), ]) # --- +# name: test_zone_set_hvac_mode[h157546] + list([ + tuple( + 5.0, + ), + ]) +# --- # name: test_zone_set_hvac_mode[minimal] list([ tuple( @@ -1539,6 +1844,19 @@ }), ]) # --- +# name: test_zone_set_preset_mode[h157546] + list([ + tuple( + 5.0, + ), + tuple( + 5.0, + ), + dict({ + 'until': HAFakeDatetime(2024, 7, 10, 20, 10, tzinfo=datetime.timezone.utc), + }), + ]) +# --- # name: test_zone_set_preset_mode[minimal] list([ tuple( @@ -1593,6 +1911,13 @@ }), ]) # --- +# name: test_zone_set_temperature[h157546] + list([ + dict({ + 'until': HAFakeDatetime(2024, 7, 10, 20, 10, tzinfo=datetime.timezone.utc), + }), + ]) +# --- # name: test_zone_set_temperature[minimal] list([ dict({ @@ -1635,6 +1960,13 @@ ), ]) # --- +# name: test_zone_turn_off[h157546] + list([ + tuple( + 5.0, + ), + ]) +# --- # name: test_zone_turn_off[minimal] list([ tuple( diff --git a/tests/components/evohome/snapshots/test_init.ambr b/tests/components/evohome/snapshots/test_init.ambr index d6174a533565..80cb82f64ae2 100644 --- a/tests/components/evohome/snapshots/test_init.ambr +++ b/tests/components/evohome/snapshots/test_init.ambr @@ -14,6 +14,9 @@ # name: test_setup[h139906] dict_keys(['refresh_system', 'set_system_mode', 'clear_zone_override', 'set_zone_override']) # --- +# name: test_setup[h157546] + dict_keys(['refresh_system', 'reset_system', 'set_system_mode', 'clear_zone_override', 'set_zone_override']) +# --- # name: test_setup[minimal] dict_keys(['refresh_system', 'reset_system', 'set_system_mode', 'clear_zone_override', 'set_zone_override']) # ---