Skip to content

Commit fba7bc7

Browse files
committed
Ruffed
1 parent e0910b9 commit fba7bc7

File tree

2 files changed

+194
-244
lines changed

2 files changed

+194
-244
lines changed

fixtures/adam_anna_new_2/data.json

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -158,24 +158,15 @@
158158
},
159159
"dev_class": "gateway",
160160
"firmware": "3.9.0",
161-
"gateway_modes": [
162-
"away",
163-
"full",
164-
"vacation"
165-
],
161+
"gateway_modes": ["away", "full", "vacation"],
166162
"hardware": "AME Smile 2.0 board",
167163
"location": "bc93488efab249e5bc54fd7e175a6f91",
168164
"mac_address": "D40FB201CBA0",
169165
"model": "Gateway",
170166
"model_id": "smile_open_therm",
171167
"name": "Adam",
172168
"notifications": {},
173-
"regulation_modes": [
174-
"bleeding_cold",
175-
"heating",
176-
"off",
177-
"bleeding_hot"
178-
],
169+
"regulation_modes": ["bleeding_cold", "heating", "off", "bleeding_hot"],
179170
"select_gateway_mode": "full",
180171
"select_regulation_mode": "heating",
181172
"sensors": {
@@ -258,13 +249,7 @@
258249
"dev_class": "climate",
259250
"model": "ThermoZone",
260251
"name": "Living room",
261-
"preset_modes": [
262-
"vacation",
263-
"no_frost",
264-
"asleep",
265-
"home",
266-
"away"
267-
],
252+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
268253
"select_schedule": "off",
269254
"sensors": {
270255
"electricity_consumed": 64.8,
@@ -301,13 +286,7 @@
301286
"dev_class": "climate",
302287
"model": "ThermoZone",
303288
"name": "Bathroom",
304-
"preset_modes": [
305-
"vacation",
306-
"no_frost",
307-
"asleep",
308-
"home",
309-
"away"
310-
],
289+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
311290
"select_schedule": "off",
312291
"sensors": {
313292
"electricity_consumed": 0.0,
@@ -321,12 +300,8 @@
321300
"upper_bound": 99.9
322301
},
323302
"thermostats": {
324-
"primary": [
325-
"e2f4322d57924fa090fbbc48b3a140dc"
326-
],
327-
"secondary": [
328-
"1772a4ea304041adb83f357b751341ff"
329-
]
303+
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
304+
"secondary": ["1772a4ea304041adb83f357b751341ff"]
330305
},
331306
"vendor": "Plugwise"
332307
}

0 commit comments

Comments
 (0)