1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Bump evohome-async to 1.0.6 (#158005)

This commit is contained in:
David Bonnes
2025-12-05 12:27:38 +00:00
committed by GitHub
parent 4cd460351d
commit f189e3b5ca
14 changed files with 1183 additions and 3 deletions

View File

@@ -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"]
}

2
requirements_all.txt generated
View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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"
}
]
}
]
}

View File

@@ -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"
}
]
}
]
}

View File

@@ -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"
}
]
}
]
}

View File

@@ -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"
}
]
}
]
}

View File

@@ -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"
}
]
}
]
}

View File

@@ -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": []
}
]
}

View File

@@ -0,0 +1,11 @@
{
"userId": "6297358",
"username": "nobody@nowhere.com",
"firstname": "Da***",
"lastname": "Sp*****",
"streetAddress": "********** **",
"city": "**********",
"postcode": "******",
"country": "Netherlands",
"language": "nlNL"
}

View File

@@ -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"
}
]
}
]
}
]
}
]

View File

@@ -39,6 +39,16 @@
),
])
# ---
# name: test_ctl_set_hvac_mode[h157546]
list([
tuple(
<SystemMode.HEATING_OFF: 'HeatingOff'>,
),
tuple(
<SystemMode.AUTO: 'Auto'>,
),
])
# ---
# name: test_ctl_set_hvac_mode[minimal]
list([
tuple(
@@ -87,6 +97,13 @@
),
])
# ---
# name: test_ctl_turn_off[h157546]
list([
tuple(
<SystemMode.HEATING_OFF: 'HeatingOff'>,
),
])
# ---
# name: test_ctl_turn_off[minimal]
list([
tuple(
@@ -129,6 +146,13 @@
),
])
# ---
# name: test_ctl_turn_on[h157546]
list([
tuple(
<SystemMode.AUTO: 'Auto'>,
),
])
# ---
# 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([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 401>,
'temperature': 5.0,
}),
'context': <ANY>,
'entity_id': 'climate.ba',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_platform[h157546][climate.ka-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'current_temperature': 16.0,
'friendly_name': 'Ka*********',
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 401>,
'temperature': 15.0,
}),
'context': <ANY>,
'entity_id': 'climate.ka',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'heat',
})
# ---
# name: test_setup_platform[h157546][climate.ka_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'current_temperature': 17.0,
'friendly_name': 'Ka*****',
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 401>,
'temperature': 15.0,
}),
'context': <ANY>,
'entity_id': 'climate.ka_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'heat',
})
# ---
# name: test_setup_platform[h157546][climate.kl-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'current_temperature': 17.1,
'friendly_name': 'Kl********',
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 400>,
}),
'context': <ANY>,
'entity_id': 'climate.kl',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'heat',
})
# ---
# name: test_setup_platform[h157546][climate.sl-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'current_temperature': 18.0,
'friendly_name': 'Sl********',
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 401>,
'temperature': 18.0,
}),
'context': <ANY>,
'entity_id': 'climate.sl',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'heat',
})
# ---
# name: test_setup_platform[h157546][climate.wo-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'current_temperature': 19.0,
'friendly_name': 'Wo*******',
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT: 'heat'>,
]),
'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': <ClimateEntityFeature: 401>,
'temperature': 19.0,
}),
'context': <ANY>,
'entity_id': 'climate.wo',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'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(

View File

@@ -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'])
# ---