Skip to content

Commit cf692bf

Browse files
committed
Save ruffed json files
1 parent 41755d0 commit cf692bf

File tree

2 files changed

+294
-344
lines changed

2 files changed

+294
-344
lines changed

fixtures/adam_anna_new_2/data.json

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -154,24 +154,15 @@
154154
},
155155
"dev_class": "gateway",
156156
"firmware": "3.9.0",
157-
"gateway_modes": [
158-
"away",
159-
"full",
160-
"vacation"
161-
],
157+
"gateway_modes": ["away", "full", "vacation"],
162158
"hardware": "AME Smile 2.0 board",
163159
"location": "bc93488efab249e5bc54fd7e175a6f91",
164160
"mac_address": "D40FB2019891",
165161
"model": "Gateway",
166162
"model_id": "smile_open_therm",
167163
"name": "Adam",
168164
"notifications": {},
169-
"regulation_modes": [
170-
"bleeding_cold",
171-
"heating",
172-
"off",
173-
"bleeding_hot"
174-
],
165+
"regulation_modes": ["bleeding_cold", "heating", "off", "bleeding_hot"],
175166
"select_gateway_mode": "full",
176167
"select_regulation_mode": "heating",
177168
"sensors": {
@@ -254,13 +245,7 @@
254245
"dev_class": "climate",
255246
"model": "ThermoZone",
256247
"name": "Living room",
257-
"preset_modes": [
258-
"vacation",
259-
"no_frost",
260-
"asleep",
261-
"home",
262-
"away"
263-
],
248+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
264249
"select_schedule": "off",
265250
"sensors": {
266251
"electricity_consumed": 15.6,
@@ -297,13 +282,7 @@
297282
"dev_class": "climate",
298283
"model": "ThermoZone",
299284
"name": "Bathroom",
300-
"preset_modes": [
301-
"vacation",
302-
"no_frost",
303-
"asleep",
304-
"home",
305-
"away"
306-
],
285+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
307286
"select_schedule": "off",
308287
"sensors": {
309288
"electricity_consumed": 0.0,
@@ -317,12 +296,8 @@
317296
"upper_bound": 99.9
318297
},
319298
"thermostats": {
320-
"primary": [
321-
"e2f4322d57924fa090fbbc48b3a140dc"
322-
],
323-
"secondary": [
324-
"1772a4ea304041adb83f357b751341ff"
325-
]
299+
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
300+
"secondary": ["1772a4ea304041adb83f357b751341ff"]
326301
},
327302
"vendor": "Plugwise"
328303
}

0 commit comments

Comments
 (0)