From ca9ddb7071c2a20e8f16e77ad06c4f550d35de1b Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Sun, 3 Mar 2024 12:45:39 +0000 Subject: [PATCH] formatting tweaks --- tests/tests/schemas/hass_094805/config.json | 8 +-- tests/tests/schemas/hass_102815/config.json | 12 ++--- .../systems/system_001/user_locations.json | 54 +++---------------- 3 files changed, 12 insertions(+), 62 deletions(-) diff --git a/tests/tests/schemas/hass_094805/config.json b/tests/tests/schemas/hass_094805/config.json index 8f4ce3ed..488e2a06 100644 --- a/tests/tests/schemas/hass_094805/config.json +++ b/tests/tests/schemas/hass_094805/config.json @@ -49,14 +49,10 @@ ], "allowedSystemModes": [ { - "systemMode": "Off", - "canBePermanent": true, - "canBeTemporary": false + "systemMode": "Off", "canBePermanent": true, "canBeTemporary": false }, { - "systemMode": "Heat", - "canBePermanent": true, - "canBeTemporary": false + "systemMode": "Heat", "canBePermanent": true, "canBeTemporary": false } ] } diff --git a/tests/tests/schemas/hass_102815/config.json b/tests/tests/schemas/hass_102815/config.json index b4115f3b..a49e9bdb 100644 --- a/tests/tests/schemas/hass_102815/config.json +++ b/tests/tests/schemas/hass_102815/config.json @@ -52,19 +52,13 @@ ], "allowedSystemModes": [ { - "systemMode": "Off", - "canBePermanent": true, - "canBeTemporary": false + "systemMode": "Off", "canBePermanent": true, "canBeTemporary": false }, { - "systemMode": "Heat", - "canBePermanent": true, - "canBeTemporary": false + "systemMode": "Heat", "canBePermanent": true, "canBeTemporary": false }, { - "systemMode": "Cool", - "canBePermanent": true, - "canBeTemporary": false + "systemMode": "Cool", "canBePermanent": true, "canBeTemporary": false } ] } diff --git a/tests/tests/systems/system_001/user_locations.json b/tests/tests/systems/system_001/user_locations.json index ccfb3571..c996ced5 100644 --- a/tests/tests/systems/system_001/user_locations.json +++ b/tests/tests/systems/system_001/user_locations.json @@ -290,53 +290,13 @@ } }, "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" - } + {"systemMode": "HeatingOff", "canBePermanent": true, "canBeTemporary": false}, + {"systemMode": "Auto", "canBePermanent": true, "canBeTemporary": false}, + {"systemMode": "AutoWithReset", "canBePermanent": true, "canBeTemporary": false}, + {"systemMode": "AutoWithEco", "canBePermanent": true, "canBeTemporary": true, "maxDuration": "1.00:00:00", "timingResolution": "01:00:00", "timingMode": "Duration"}, + {"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": "Custom", "canBePermanent": true, "canBeTemporary": true, "maxDuration": "99.00:00:00", "timingResolution": "1.00:00:00", "timingMode": "Period"} ] } ]