diff --git a/.github/workflows/check-test.yml b/.github/workflows/check-test.yml index 3315b684..565a37ab 100644 --- a/.github/workflows/check-test.yml +++ b/.github/workflows/check-test.yml @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12", "3.13.0-rc.1"] + python-version: ["3.11", "3.12", "3.13.0-rc.1"] steps: - uses: actions/checkout@v4 diff --git a/tests/tests/__snapshots__/test_installs.ambr b/tests/tests/__snapshots__/test_installs.ambr new file mode 100644 index 00000000..6eb4be1b --- /dev/null +++ b/tests/tests/__snapshots__/test_installs.ambr @@ -0,0 +1,1463 @@ +# serializer version: 1 +# name: test_system_snapshot[default][control_system] + ''' + 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 + + ''' +# --- +# name: test_system_snapshot[default][gateway] + ''' + active_faults: [] + gatewayId: '2499896' + isWiFi: false + mac: 00D02DEE4E56 + + ''' +# --- +# name: test_system_snapshot[default][hot_water] + ''' + 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 + + ''' +# --- +# name: test_system_snapshot[default][location] + ''' + country: UnitedKingdom + locationId: '2738909' + locationOwner: + firstname: David + lastname: '********' + userId: '2263181' + username: nobody@nowhere.com + locationType: Residential + name: My Home + timeZone: + currentOffsetMinutes: 60 + displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London + offsetMinutes: 0 + supportsDaylightSaving: true + timeZoneId: GMTStandardTime + useDaylightSaveSwitching: true + + ''' +# --- +# name: test_system_snapshot[default][zones] + ''' + '3432521': + activeFaults: &id001 [] + active_faults: *id001 + allowedSetpointModes: &id002 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Dead Zone + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id002 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 5.0 + target_cool_temperature: null + target_heat_temperature: 5.0 + temperature: null + temperatureStatus: + isAvailable: false + zoneType: RadiatorZone + '3432576': + activeFaults: &id003 [] + active_faults: *id003 + allowedSetpointModes: &id004 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Main Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id004 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.0 + temperatureStatus: + isAvailable: true + temperature: 19.0 + zoneType: RadiatorZone + '3432577': + activeFaults: &id005 [] + active_faults: *id005 + allowedSetpointModes: &id006 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Front Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id006 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.0 + temperatureStatus: + isAvailable: true + temperature: 19.0 + zoneType: RadiatorZone + '3432578': + activeFaults: &id007 [] + active_faults: *id007 + allowedSetpointModes: &id008 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kitchen + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id008 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 20.0 + temperatureStatus: + isAvailable: true + temperature: 20.0 + zoneType: RadiatorZone + '3432579': + activeFaults: &id009 [] + active_faults: *id009 + allowedSetpointModes: &id010 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Dn + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id010 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.0 + target_cool_temperature: null + target_heat_temperature: 16.0 + temperature: 20.0 + temperatureStatus: + isAvailable: true + temperature: 20.0 + zoneType: RadiatorZone + '3432580': + activeFaults: &id011 [] + active_faults: *id011 + allowedSetpointModes: &id012 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Main Bedroom + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id012 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.0 + target_cool_temperature: null + target_heat_temperature: 16.0 + temperature: 21.0 + temperatureStatus: + isAvailable: true + temperature: 21.0 + zoneType: RadiatorZone + '3449703': + activeFaults: &id013 [] + active_faults: *id013 + allowedSetpointModes: &id014 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kids Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id014 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.5 + temperatureStatus: + isAvailable: true + temperature: 19.5 + zoneType: RadiatorZone + '3449740': + activeFaults: &id015 [] + active_faults: *id015 + allowedSetpointModes: &id016 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Up + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id016 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.5 + target_cool_temperature: null + target_heat_temperature: 16.5 + temperature: 21.5 + temperatureStatus: + isAvailable: true + temperature: 21.5 + zoneType: RadiatorZone + '3450733': + activeFaults: &id017 [] + active_faults: *id017 + allowedSetpointModes: &id018 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Spare Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id018 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 14.0 + target_cool_temperature: null + target_heat_temperature: 14.0 + temperature: 19.5 + temperatureStatus: + isAvailable: true + temperature: 19.5 + zoneType: RadiatorZone + + ''' +# --- +# name: test_system_snapshot[hass_118169][control_system] + ''' + 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 + + ''' +# --- +# name: test_system_snapshot[hass_118169][gateway] + ''' + active_faults: [] + gatewayId: '2499896' + isWiFi: false + mac: 00D02DEE4E56 + + ''' +# --- +# name: test_system_snapshot[hass_118169][hot_water] + ''' + 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 + + ''' +# --- +# name: test_system_snapshot[hass_118169][location] + ''' + country: UnitedKingdom + locationId: '2738909' + locationOwner: + firstname: David + lastname: '********' + userId: '2263181' + username: nobody@nowhere.com + locationType: Residential + name: My Home + timeZone: + currentOffsetMinutes: 60 + displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London + offsetMinutes: 0 + supportsDaylightSaving: true + timeZoneId: GMTStandardTime + useDaylightSaveSwitching: true + + ''' +# --- +# name: test_system_snapshot[hass_118169][zones] + ''' + '3432521': + activeFaults: &id001 [] + active_faults: *id001 + allowedSetpointModes: &id002 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Dead Zone + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id002 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 5.0 + target_cool_temperature: null + target_heat_temperature: 5.0 + temperature: null + temperatureStatus: + isAvailable: false + zoneType: RadiatorZone + '3432576': + activeFaults: &id003 [] + active_faults: *id003 + allowedSetpointModes: &id004 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Main Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id004 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.0 + temperatureStatus: + isAvailable: true + temperature: 19.0 + zoneType: RadiatorZone + '3432577': + activeFaults: &id005 [] + active_faults: *id005 + allowedSetpointModes: &id006 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Front Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id006 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.0 + temperatureStatus: + isAvailable: true + temperature: 19.0 + zoneType: RadiatorZone + '3432578': + activeFaults: &id007 [] + active_faults: *id007 + allowedSetpointModes: &id008 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kitchen + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id008 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 20.0 + temperatureStatus: + isAvailable: true + temperature: 20.0 + zoneType: RadiatorZone + '3432579': + activeFaults: &id009 [] + active_faults: *id009 + allowedSetpointModes: &id010 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Dn + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id010 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.0 + target_cool_temperature: null + target_heat_temperature: 16.0 + temperature: 20.0 + temperatureStatus: + isAvailable: true + temperature: 20.0 + zoneType: RadiatorZone + '3432580': + activeFaults: &id011 [] + active_faults: *id011 + allowedSetpointModes: &id012 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Main Bedroom + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id012 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.0 + target_cool_temperature: null + target_heat_temperature: 16.0 + temperature: 21.0 + temperatureStatus: + isAvailable: true + temperature: 21.0 + zoneType: RadiatorZone + '3449703': + activeFaults: &id013 [] + active_faults: *id013 + allowedSetpointModes: &id014 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kids Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id014 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 17.0 + target_cool_temperature: null + target_heat_temperature: 17.0 + temperature: 19.5 + temperatureStatus: + isAvailable: true + temperature: 19.5 + zoneType: RadiatorZone + '3449740': + activeFaults: &id015 [] + active_faults: *id015 + allowedSetpointModes: &id016 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Up + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id016 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 16.5 + target_cool_temperature: null + target_heat_temperature: 16.5 + temperature: 21.5 + temperatureStatus: + isAvailable: true + temperature: 21.5 + zoneType: RadiatorZone + '3450733': + activeFaults: &id017 [] + active_faults: *id017 + allowedSetpointModes: &id018 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Spare Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id018 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 14.0 + target_cool_temperature: null + target_heat_temperature: 14.0 + temperature: 19.5 + temperatureStatus: + isAvailable: true + temperature: 19.5 + zoneType: RadiatorZone + + ''' +# --- +# name: test_system_snapshot[system_002][control_system] + ''' + 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: Auto + system_mode: Auto + + ''' +# --- +# name: test_system_snapshot[system_002][gateway] + ''' + active_faults: [] + gatewayId: '2499896' + isWiFi: false + mac: 00D02DEE4E56 + + ''' +# --- +# name: test_system_snapshot[system_002][hot_water] + ''' + activeFaults: &id001 + - faultType: DHWSensorCommunicationLost + since: '2023-11-30T18:48:40' + 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: FollowSchedule + name: Domestic Hot Water + scheduleCapabilitiesResponse: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + timingResolution: 00:10:00 + state: 'Off' + stateStatus: + mode: FollowSchedule + state: 'Off' + temperature: null + temperatureStatus: + isAvailable: false + + ''' +# --- +# name: test_system_snapshot[system_002][location] + ''' + country: UnitedKingdom + locationId: '2738909' + locationOwner: + firstname: David + lastname: '********' + userId: '2263181' + username: nobody@nowhere.com + locationType: Residential + name: My Home + timeZone: + currentOffsetMinutes: 60 + displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London + offsetMinutes: 0 + supportsDaylightSaving: true + timeZoneId: GMTStandardTime + useDaylightSaveSwitching: true + + ''' +# --- +# name: test_system_snapshot[system_002][zones] + ''' + '3432521': + activeFaults: &id001 [] + active_faults: *id001 + allowedSetpointModes: &id002 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Dead Zone + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id002 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 5.0 + target_cool_temperature: null + target_heat_temperature: 5.0 + temperature: null + temperatureStatus: + isAvailable: false + zoneType: RadiatorZone + '3432576': + activeFaults: &id003 [] + active_faults: *id003 + allowedSetpointModes: &id004 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Main Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id004 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 5.0 + target_cool_temperature: null + target_heat_temperature: 5.0 + temperature: 17.0 + temperatureStatus: + isAvailable: true + temperature: 17.0 + zoneType: RadiatorZone + '3432577': + activeFaults: &id005 [] + active_faults: *id005 + allowedSetpointModes: &id006 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Front Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id006 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 20.6 + target_cool_temperature: null + target_heat_temperature: 20.6 + temperature: 20.5 + temperatureStatus: + isAvailable: true + temperature: 20.5 + zoneType: RadiatorZone + '3432578': + activeFaults: &id007 [] + active_faults: *id007 + allowedSetpointModes: &id008 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kitchen + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id008 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 20.0 + target_cool_temperature: null + target_heat_temperature: 20.0 + temperature: 20.0 + temperatureStatus: + isAvailable: true + temperature: 20.0 + zoneType: RadiatorZone + '3432579': + activeFaults: &id009 [] + active_faults: *id009 + allowedSetpointModes: &id010 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Dn + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id010 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 18.5 + target_cool_temperature: null + target_heat_temperature: 18.5 + temperature: 17.5 + temperatureStatus: + isAvailable: true + temperature: 17.5 + zoneType: RadiatorZone + '3432580': + activeFaults: &id011 [] + active_faults: *id011 + allowedSetpointModes: &id012 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: TemporaryOverride + modelType: HeatingZone + name: Main Bedroom + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id012 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: TemporaryOverride + targetHeatTemperature: 20.5 + until: '2023-11-30T22:10:00Z' + target_cool_temperature: null + target_heat_temperature: 20.5 + temperature: 21.0 + temperatureStatus: + isAvailable: true + temperature: 21.0 + zoneType: RadiatorZone + '3449703': + activeFaults: &id013 [] + active_faults: *id013 + allowedSetpointModes: &id014 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Kids Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id014 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 18.6 + target_cool_temperature: null + target_heat_temperature: 18.6 + temperature: 19.5 + temperatureStatus: + isAvailable: true + temperature: 19.5 + zoneType: RadiatorZone + '3449740': + activeFaults: &id015 [] + active_faults: *id015 + allowedSetpointModes: &id016 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: FollowSchedule + modelType: HeatingZone + name: Bathroom Up + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id016 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: FollowSchedule + targetHeatTemperature: 19.0 + target_cool_temperature: null + target_heat_temperature: 19.0 + temperature: 19.0 + temperatureStatus: + isAvailable: true + temperature: 19.0 + zoneType: RadiatorZone + '3450733': + activeFaults: &id017 [] + active_faults: *id017 + allowedSetpointModes: &id018 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: HeatingZone + name: Spare Room + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 1 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id018 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 10.0 + target_cool_temperature: null + target_heat_temperature: 10.0 + temperature: 15.0 + temperatureStatus: + isAvailable: true + temperature: 15.0 + zoneType: RadiatorZone + + ''' +# --- +# name: test_system_snapshot[system_004][control_system] + ''' + activeFaults: &id001 [] + active_faults: *id001 + allowedSystemModes: + - canBePermanent: true + canBeTemporary: false + systemMode: Auto + - 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: false + systemMode: HeatingOff + modelType: EvoTouch + systemId: '3935923' + systemModeStatus: + isPermanent: true + mode: Auto + system_mode: Auto + + ''' +# --- +# name: test_system_snapshot[system_004][gateway] + ''' + active_faults: [] + gatewayId: '2820628' + isWiFi: false + mac: 00D02DF114FD + + ''' +# --- +# name: test_system_snapshot[system_004][hot_water] + ''' + {} + + ''' +# --- +# name: test_system_snapshot[system_004][location] + ''' + country: CzechRepublic + locationId: '2664492' + locationOwner: + firstname: Jan + lastname: '********' + userId: '2224990' + username: nobody@nowhere.com + locationType: Residential + name: Summer House + timeZone: + currentOffsetMinutes: 120 + displayName: "(UTC+01:00) Praha, Bratislava, Budape\u0161\u0165, B\u011Blehrad,\ + \ Lubla\u0148" + offsetMinutes: 60 + supportsDaylightSaving: true + timeZoneId: CentralEuropeStandardTime + useDaylightSaveSwitching: true + + ''' +# --- +# name: test_system_snapshot[system_004][zones] + ''' + '3935922': + activeFaults: &id001 [] + active_faults: *id001 + allowedSetpointModes: &id002 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: RoundWireless + name: Name 3935922 + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 0 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id002 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 15.0 + target_cool_temperature: null + target_heat_temperature: 15.0 + temperature: 21.5 + temperatureStatus: + isAvailable: true + temperature: 21.5 + zoneType: Thermostat + '4368406': + activeFaults: &id003 [] + active_faults: *id003 + allowedSetpointModes: &id004 + - PermanentOverride + - FollowSchedule + - TemporaryOverride + max_heat_setpoint: 35.0 + min_heat_setpoint: 5.0 + mode: PermanentOverride + modelType: RoundWireless + name: Name 3935922 + scheduleCapabilities: + maxSwitchpointsPerDay: 6 + minSwitchpointsPerDay: 0 + setpointValueResolution: 0.5 + timingResolution: 00:10:00 + setpointCapabilities: + allowedSetpointModes: *id004 + canControlCool: false + canControlHeat: true + maxDuration: 1.00:00:00 + maxHeatSetpoint: 35.0 + minHeatSetpoint: 5.0 + timingResolution: 00:10:00 + valueResolution: 0.5 + setpointStatus: + setpointMode: PermanentOverride + targetHeatTemperature: 15.0 + target_cool_temperature: null + target_heat_temperature: 15.0 + temperature: 23.0 + temperatureStatus: + isAvailable: true + temperature: 23.0 + zoneType: Thermostat + + ''' +# --- diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/default/control_system.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/default/control_system.yml deleted file mode 100644 index bd3f80bf..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/default/control_system.yml +++ /dev/null @@ -1,42 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/default/gateway.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/default/gateway.yml deleted file mode 100644 index 20d664a2..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/default/gateway.yml +++ /dev/null @@ -1,4 +0,0 @@ -active_faults: [] -gatewayId: '2499896' -isWiFi: false -mac: 00D02DEE4E56 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/default/hot_water.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/default/hot_water.yml deleted file mode 100644 index 805d6f13..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/default/hot_water.yml +++ /dev/null @@ -1,28 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/default/location.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/default/location.yml deleted file mode 100644 index e3b38cb6..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/default/location.yml +++ /dev/null @@ -1,16 +0,0 @@ -country: UnitedKingdom -locationId: '2738909' -locationOwner: - firstname: David - lastname: '********' - userId: '2263181' - username: nobody@nowhere.com -locationType: Residential -name: My Home -timeZone: - currentOffsetMinutes: 60 - displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London - offsetMinutes: 0 - supportsDaylightSaving: true - timeZoneId: GMTStandardTime -useDaylightSaveSwitching: true diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/default/zones.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/default/zones.yml deleted file mode 100644 index 2787095d..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/default/zones.yml +++ /dev/null @@ -1,323 +0,0 @@ -'3432521': - activeFaults: &id001 [] - active_faults: *id001 - allowedSetpointModes: &id002 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Dead Zone - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id002 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 5.0 - target_cool_temperature: null - target_heat_temperature: 5.0 - temperature: null - temperatureStatus: - isAvailable: false - zoneType: RadiatorZone -'3432576': - activeFaults: &id003 [] - active_faults: *id003 - allowedSetpointModes: &id004 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id004 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432577': - activeFaults: &id005 [] - active_faults: *id005 - allowedSetpointModes: &id006 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Front Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id006 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432578': - activeFaults: &id007 [] - active_faults: *id007 - allowedSetpointModes: &id008 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kitchen - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id008 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432579': - activeFaults: &id009 [] - active_faults: *id009 - allowedSetpointModes: &id010 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Dn - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id010 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432580': - activeFaults: &id011 [] - active_faults: *id011 - allowedSetpointModes: &id012 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Bedroom - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id012 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 21.0 - temperatureStatus: - isAvailable: true - temperature: 21.0 - zoneType: RadiatorZone -'3449703': - activeFaults: &id013 [] - active_faults: *id013 - allowedSetpointModes: &id014 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kids Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id014 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone -'3449740': - activeFaults: &id015 [] - active_faults: *id015 - allowedSetpointModes: &id016 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Up - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id016 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.5 - target_cool_temperature: null - target_heat_temperature: 16.5 - temperature: 21.5 - temperatureStatus: - isAvailable: true - temperature: 21.5 - zoneType: RadiatorZone -'3450733': - activeFaults: &id017 [] - active_faults: *id017 - allowedSetpointModes: &id018 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Spare Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id018 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 14.0 - target_cool_temperature: null - target_heat_temperature: 14.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/control_system.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/control_system.yml deleted file mode 100644 index bd3f80bf..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/control_system.yml +++ /dev/null @@ -1,42 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/gateway.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/gateway.yml deleted file mode 100644 index 20d664a2..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/gateway.yml +++ /dev/null @@ -1,4 +0,0 @@ -active_faults: [] -gatewayId: '2499896' -isWiFi: false -mac: 00D02DEE4E56 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/hot_water.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/hot_water.yml deleted file mode 100644 index 805d6f13..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/hot_water.yml +++ /dev/null @@ -1,28 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/location.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/location.yml deleted file mode 100644 index e3b38cb6..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/location.yml +++ /dev/null @@ -1,16 +0,0 @@ -country: UnitedKingdom -locationId: '2738909' -locationOwner: - firstname: David - lastname: '********' - userId: '2263181' - username: nobody@nowhere.com -locationType: Residential -name: My Home -timeZone: - currentOffsetMinutes: 60 - displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London - offsetMinutes: 0 - supportsDaylightSaving: true - timeZoneId: GMTStandardTime -useDaylightSaveSwitching: true diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/zones.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/zones.yml deleted file mode 100644 index 2787095d..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/hass_118169/zones.yml +++ /dev/null @@ -1,323 +0,0 @@ -'3432521': - activeFaults: &id001 [] - active_faults: *id001 - allowedSetpointModes: &id002 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Dead Zone - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id002 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 5.0 - target_cool_temperature: null - target_heat_temperature: 5.0 - temperature: null - temperatureStatus: - isAvailable: false - zoneType: RadiatorZone -'3432576': - activeFaults: &id003 [] - active_faults: *id003 - allowedSetpointModes: &id004 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id004 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432577': - activeFaults: &id005 [] - active_faults: *id005 - allowedSetpointModes: &id006 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Front Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id006 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432578': - activeFaults: &id007 [] - active_faults: *id007 - allowedSetpointModes: &id008 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kitchen - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id008 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432579': - activeFaults: &id009 [] - active_faults: *id009 - allowedSetpointModes: &id010 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Dn - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id010 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432580': - activeFaults: &id011 [] - active_faults: *id011 - allowedSetpointModes: &id012 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Bedroom - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id012 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 21.0 - temperatureStatus: - isAvailable: true - temperature: 21.0 - zoneType: RadiatorZone -'3449703': - activeFaults: &id013 [] - active_faults: *id013 - allowedSetpointModes: &id014 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kids Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id014 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone -'3449740': - activeFaults: &id015 [] - active_faults: *id015 - allowedSetpointModes: &id016 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Up - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id016 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.5 - target_cool_temperature: null - target_heat_temperature: 16.5 - temperature: 21.5 - temperatureStatus: - isAvailable: true - temperature: 21.5 - zoneType: RadiatorZone -'3450733': - activeFaults: &id017 [] - active_faults: *id017 - allowedSetpointModes: &id018 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Spare Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id018 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 14.0 - target_cool_temperature: null - target_heat_temperature: 14.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/control_system.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/control_system.yml deleted file mode 100644 index 7fa7e944..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/control_system.yml +++ /dev/null @@ -1,42 +0,0 @@ -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: Auto -system_mode: Auto diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/gateway.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/gateway.yml deleted file mode 100644 index 20d664a2..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/gateway.yml +++ /dev/null @@ -1,4 +0,0 @@ -active_faults: [] -gatewayId: '2499896' -isWiFi: false -mac: 00D02DEE4E56 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/hot_water.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/hot_water.yml deleted file mode 100644 index 45aada01..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/hot_water.yml +++ /dev/null @@ -1,29 +0,0 @@ -activeFaults: &id001 -- faultType: DHWSensorCommunicationLost - since: '2023-11-30T18:48:40' -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: FollowSchedule -name: Domestic Hot Water -scheduleCapabilitiesResponse: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - timingResolution: 00:10:00 -state: 'Off' -stateStatus: - mode: FollowSchedule - state: 'Off' -temperature: null -temperatureStatus: - isAvailable: false diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/location.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/location.yml deleted file mode 100644 index e3b38cb6..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/location.yml +++ /dev/null @@ -1,16 +0,0 @@ -country: UnitedKingdom -locationId: '2738909' -locationOwner: - firstname: David - lastname: '********' - userId: '2263181' - username: nobody@nowhere.com -locationType: Residential -name: My Home -timeZone: - currentOffsetMinutes: 60 - displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London - offsetMinutes: 0 - supportsDaylightSaving: true - timeZoneId: GMTStandardTime -useDaylightSaveSwitching: true diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/zones.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/zones.yml deleted file mode 100644 index 6802f836..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_002/zones.yml +++ /dev/null @@ -1,324 +0,0 @@ -'3432521': - activeFaults: &id001 [] - active_faults: *id001 - allowedSetpointModes: &id002 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Dead Zone - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id002 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 5.0 - target_cool_temperature: null - target_heat_temperature: 5.0 - temperature: null - temperatureStatus: - isAvailable: false - zoneType: RadiatorZone -'3432576': - activeFaults: &id003 [] - active_faults: *id003 - allowedSetpointModes: &id004 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Main Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id004 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 5.0 - target_cool_temperature: null - target_heat_temperature: 5.0 - temperature: 17.0 - temperatureStatus: - isAvailable: true - temperature: 17.0 - zoneType: RadiatorZone -'3432577': - activeFaults: &id005 [] - active_faults: *id005 - allowedSetpointModes: &id006 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Front Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id006 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 20.6 - target_cool_temperature: null - target_heat_temperature: 20.6 - temperature: 20.5 - temperatureStatus: - isAvailable: true - temperature: 20.5 - zoneType: RadiatorZone -'3432578': - activeFaults: &id007 [] - active_faults: *id007 - allowedSetpointModes: &id008 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kitchen - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id008 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 20.0 - target_cool_temperature: null - target_heat_temperature: 20.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432579': - activeFaults: &id009 [] - active_faults: *id009 - allowedSetpointModes: &id010 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Dn - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id010 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 18.5 - target_cool_temperature: null - target_heat_temperature: 18.5 - temperature: 17.5 - temperatureStatus: - isAvailable: true - temperature: 17.5 - zoneType: RadiatorZone -'3432580': - activeFaults: &id011 [] - active_faults: *id011 - allowedSetpointModes: &id012 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: TemporaryOverride - modelType: HeatingZone - name: Main Bedroom - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id012 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: TemporaryOverride - targetHeatTemperature: 20.5 - until: '2023-11-30T22:10:00Z' - target_cool_temperature: null - target_heat_temperature: 20.5 - temperature: 21.0 - temperatureStatus: - isAvailable: true - temperature: 21.0 - zoneType: RadiatorZone -'3449703': - activeFaults: &id013 [] - active_faults: *id013 - allowedSetpointModes: &id014 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kids Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id014 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 18.6 - target_cool_temperature: null - target_heat_temperature: 18.6 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone -'3449740': - activeFaults: &id015 [] - active_faults: *id015 - allowedSetpointModes: &id016 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Up - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id016 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 19.0 - target_cool_temperature: null - target_heat_temperature: 19.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3450733': - activeFaults: &id017 [] - active_faults: *id017 - allowedSetpointModes: &id018 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Spare Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id018 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 10.0 - target_cool_temperature: null - target_heat_temperature: 10.0 - temperature: 15.0 - temperatureStatus: - isAvailable: true - temperature: 15.0 - zoneType: RadiatorZone diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/control_system.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/control_system.yml deleted file mode 100644 index 2664537c..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/control_system.yml +++ /dev/null @@ -1,27 +0,0 @@ -activeFaults: &id001 [] -active_faults: *id001 -allowedSystemModes: -- canBePermanent: true - canBeTemporary: false - systemMode: Auto -- 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: false - systemMode: HeatingOff -modelType: EvoTouch -systemId: '3935923' -systemModeStatus: - isPermanent: true - mode: Auto -system_mode: Auto diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/gateway.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/gateway.yml deleted file mode 100644 index 5757ff8a..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/gateway.yml +++ /dev/null @@ -1,4 +0,0 @@ -active_faults: [] -gatewayId: '2820628' -isWiFi: false -mac: 00D02DF114FD diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/hot_water.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/hot_water.yml deleted file mode 100644 index 0967ef42..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/hot_water.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/location.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/location.yml deleted file mode 100644 index 76b0b582..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/location.yml +++ /dev/null @@ -1,17 +0,0 @@ -country: CzechRepublic -locationId: '2664492' -locationOwner: - firstname: Jan - lastname: '********' - userId: '2224990' - username: nobody@nowhere.com -locationType: Residential -name: Summer House -timeZone: - currentOffsetMinutes: 120 - displayName: "(UTC+01:00) Praha, Bratislava, Budape\u0161\u0165, B\u011Blehrad,\ - \ Lubla\u0148" - offsetMinutes: 60 - supportsDaylightSaving: true - timeZoneId: CentralEuropeStandardTime -useDaylightSaveSwitching: true diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/zones.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/zones.yml deleted file mode 100644 index 30f5a947..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_004/zones.yml +++ /dev/null @@ -1,72 +0,0 @@ -'3935922': - activeFaults: &id001 [] - active_faults: *id001 - allowedSetpointModes: &id002 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: RoundWireless - name: Name 3935922 - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 0 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id002 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 15.0 - target_cool_temperature: null - target_heat_temperature: 15.0 - temperature: 21.5 - temperatureStatus: - isAvailable: true - temperature: 21.5 - zoneType: Thermostat -'4368406': - activeFaults: &id003 [] - active_faults: *id003 - allowedSetpointModes: &id004 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: RoundWireless - name: Name 3935922 - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 0 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id004 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 15.0 - target_cool_temperature: null - target_heat_temperature: 15.0 - temperature: 23.0 - temperatureStatus: - isAvailable: true - temperature: 23.0 - zoneType: Thermostat diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/control_system.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/control_system.yml deleted file mode 100644 index bd3f80bf..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/control_system.yml +++ /dev/null @@ -1,42 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/gateway.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/gateway.yml deleted file mode 100644 index 20d664a2..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/gateway.yml +++ /dev/null @@ -1,4 +0,0 @@ -active_faults: [] -gatewayId: '2499896' -isWiFi: false -mac: 00D02DEE4E56 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/hot_water.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/hot_water.yml deleted file mode 100644 index 805d6f13..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/hot_water.yml +++ /dev/null @@ -1,28 +0,0 @@ -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 diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/location.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/location.yml deleted file mode 100644 index e3b38cb6..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/location.yml +++ /dev/null @@ -1,16 +0,0 @@ -country: UnitedKingdom -locationId: '2738909' -locationOwner: - firstname: David - lastname: '********' - userId: '2263181' - username: nobody@nowhere.com -locationType: Residential -name: My Home -timeZone: - currentOffsetMinutes: 60 - displayName: (UTC+00:00) Dublin, Edinburgh, Lisbon, London - offsetMinutes: 0 - supportsDaylightSaving: true - timeZoneId: GMTStandardTime -useDaylightSaveSwitching: true diff --git a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/zones.yml b/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/zones.yml deleted file mode 100644 index 2787095d..00000000 --- a/tests/tests/snapshots/test_installs/test_system_snapshot/system_006/zones.yml +++ /dev/null @@ -1,323 +0,0 @@ -'3432521': - activeFaults: &id001 [] - active_faults: *id001 - allowedSetpointModes: &id002 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Dead Zone - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id002 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 5.0 - target_cool_temperature: null - target_heat_temperature: 5.0 - temperature: null - temperatureStatus: - isAvailable: false - zoneType: RadiatorZone -'3432576': - activeFaults: &id003 [] - active_faults: *id003 - allowedSetpointModes: &id004 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id004 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432577': - activeFaults: &id005 [] - active_faults: *id005 - allowedSetpointModes: &id006 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Front Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id006 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.0 - temperatureStatus: - isAvailable: true - temperature: 19.0 - zoneType: RadiatorZone -'3432578': - activeFaults: &id007 [] - active_faults: *id007 - allowedSetpointModes: &id008 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kitchen - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id008 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432579': - activeFaults: &id009 [] - active_faults: *id009 - allowedSetpointModes: &id010 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Dn - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id010 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 20.0 - temperatureStatus: - isAvailable: true - temperature: 20.0 - zoneType: RadiatorZone -'3432580': - activeFaults: &id011 [] - active_faults: *id011 - allowedSetpointModes: &id012 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Main Bedroom - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id012 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.0 - target_cool_temperature: null - target_heat_temperature: 16.0 - temperature: 21.0 - temperatureStatus: - isAvailable: true - temperature: 21.0 - zoneType: RadiatorZone -'3449703': - activeFaults: &id013 [] - active_faults: *id013 - allowedSetpointModes: &id014 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Kids Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id014 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 17.0 - target_cool_temperature: null - target_heat_temperature: 17.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone -'3449740': - activeFaults: &id015 [] - active_faults: *id015 - allowedSetpointModes: &id016 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: FollowSchedule - modelType: HeatingZone - name: Bathroom Up - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id016 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: FollowSchedule - targetHeatTemperature: 16.5 - target_cool_temperature: null - target_heat_temperature: 16.5 - temperature: 21.5 - temperatureStatus: - isAvailable: true - temperature: 21.5 - zoneType: RadiatorZone -'3450733': - activeFaults: &id017 [] - active_faults: *id017 - allowedSetpointModes: &id018 - - PermanentOverride - - FollowSchedule - - TemporaryOverride - max_heat_setpoint: 35.0 - min_heat_setpoint: 5.0 - mode: PermanentOverride - modelType: HeatingZone - name: Spare Room - scheduleCapabilities: - maxSwitchpointsPerDay: 6 - minSwitchpointsPerDay: 1 - setpointValueResolution: 0.5 - timingResolution: 00:10:00 - setpointCapabilities: - allowedSetpointModes: *id018 - canControlCool: false - canControlHeat: true - maxDuration: 1.00:00:00 - maxHeatSetpoint: 35.0 - minHeatSetpoint: 5.0 - timingResolution: 00:10:00 - valueResolution: 0.5 - setpointStatus: - setpointMode: PermanentOverride - targetHeatTemperature: 14.0 - target_cool_temperature: null - target_heat_temperature: 14.0 - temperature: 19.5 - temperatureStatus: - isAvailable: true - temperature: 19.5 - zoneType: RadiatorZone diff --git a/tests/tests/test_installs.py b/tests/tests/test_installs.py index 8c9cf4b6..06cfa398 100644 --- a/tests/tests/test_installs.py +++ b/tests/tests/test_installs.py @@ -9,7 +9,7 @@ import pytest import yaml -from pytest_snapshot.plugin import Snapshot # type: ignore[import-untyped] +from syrupy import SnapshotAssertion import evohomeasync2 as evo2 @@ -27,7 +27,7 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None: async def test_system_snapshot( # type: ignore[no-any-unimported] - install: str, token_manager: TokenManager, snapshot: Snapshot + install: str, token_manager: TokenManager, snapshot: SnapshotAssertion ) -> None: """Test the user account schema against the corresponding JSON.""" @@ -46,16 +46,16 @@ def obj_to_dict(obj: object) -> dict[str, Any]: assert evo loc = evo.locations[0] - snapshot.assert_match(yaml.dump(obj_to_dict(loc), indent=4), "location.yml") + assert yaml.dump(obj_to_dict(loc), indent=4) == snapshot(name="location") gwy = loc._gateways[0] - snapshot.assert_match(yaml.dump(obj_to_dict(gwy), indent=4), "gateway.yml") + assert yaml.dump(obj_to_dict(gwy), indent=4) == snapshot(name="gateway") tcs = gwy._control_systems[0] - snapshot.assert_match(yaml.dump(obj_to_dict(tcs), indent=4), "control_system.yml") + assert yaml.dump(obj_to_dict(tcs), indent=4) == snapshot(name="control_system") dhw = tcs.hotwater - snapshot.assert_match(yaml.dump(obj_to_dict(dhw), indent=4), "hot_water.yml") + assert yaml.dump(obj_to_dict(dhw), indent=4) == snapshot(name="hot_water") zones = {z.zoneId: obj_to_dict(z) for z in tcs._zones} - snapshot.assert_match(yaml.dump(zones, indent=4), "zones.yml") + assert yaml.dump(zones, indent=4) == snapshot(name="zones")