Skip to content

Commit 7ba39e7

Browse files
committed
Save updates json files
1 parent 9812093 commit 7ba39e7

File tree

2 files changed

+365
-315
lines changed

2 files changed

+365
-315
lines changed

fixtures/adam_anna_new_2/data.json

Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"name": "OpenTherm",
1919
"sensors": {
2020
"intended_boiler_temperature": 22.5,
21-
"water_temperature": 35.0
21+
"water_temperature": 43.0
2222
},
2323
"switches": {
2424
"dhw_cm_switch": false
@@ -38,8 +38,8 @@
3838
"sensors": {
3939
"battery": 100,
4040
"humidity": 65.0,
41-
"setpoint": 21.0,
42-
"temperature": 19.5
41+
"setpoint": 20.5,
42+
"temperature": 19.7
4343
},
4444
"temperature_offset": {
4545
"lower_bound": -2.0,
@@ -88,7 +88,7 @@
8888
"name": "Plug MediaTV",
8989
"sensors": {
9090
"electricity_consumed": 15.8,
91-
"electricity_consumed_interval": 3.0,
91+
"electricity_consumed_interval": 4.0,
9292
"electricity_produced": 0.0,
9393
"electricity_produced_interval": 0.0
9494
},
@@ -129,8 +129,8 @@
129129
"model_id": "160-01",
130130
"name": "Plug Vloerverwarming",
131131
"sensors": {
132-
"electricity_consumed": 49.0,
133-
"electricity_consumed_interval": 0.0,
132+
"electricity_consumed": 45.0,
133+
"electricity_consumed_interval": 12.0,
134134
"electricity_produced": 0.0,
135135
"electricity_produced_interval": 0.0
136136
},
@@ -147,8 +147,8 @@
147147
"model_id": "143.1",
148148
"name": "Anna",
149149
"sensors": {
150-
"setpoint": 21.0,
151-
"temperature": 19.9
150+
"setpoint": 20.5,
151+
"temperature": 20.1
152152
},
153153
"vendor": "Plugwise"
154154
},
@@ -158,19 +158,28 @@
158158
},
159159
"dev_class": "gateway",
160160
"firmware": "3.9.0",
161-
"gateway_modes": ["away", "full", "vacation"],
161+
"gateway_modes": [
162+
"away",
163+
"full",
164+
"vacation"
165+
],
162166
"hardware": "AME Smile 2.0 board",
163167
"location": "bc93488efab249e5bc54fd7e175a6f91",
164168
"mac_address": "D40FB201CBA0",
165169
"model": "Gateway",
166170
"model_id": "smile_open_therm",
167171
"name": "Adam",
168172
"notifications": {},
169-
"regulation_modes": ["bleeding_cold", "heating", "off", "bleeding_hot"],
173+
"regulation_modes": [
174+
"bleeding_cold",
175+
"heating",
176+
"off",
177+
"bleeding_hot"
178+
],
170179
"select_gateway_mode": "full",
171180
"select_regulation_mode": "heating",
172181
"sensors": {
173-
"outdoor_temperature": 15.6
182+
"outdoor_temperature": 15.1
174183
},
175184
"vendor": "Plugwise",
176185
"zigbee_mac_address": "000D6F000D5ACBA0"
@@ -189,9 +198,9 @@
189198
"name": "Jip",
190199
"sensors": {
191200
"battery": 100,
192-
"humidity": 63.9,
193-
"setpoint": 21.0,
194-
"temperature": 19.3
201+
"humidity": 65.8,
202+
"setpoint": 20.5,
203+
"temperature": 20.4
195204
},
196205
"vendor": "Plugwise",
197206
"zigbee_mac_address": "70AC08FFFEE1CBA0"
@@ -244,22 +253,28 @@
244253
"Test",
245254
"off"
246255
],
247-
"climate_mode": "heat",
256+
"climate_mode": "auto",
248257
"control_state": "heating",
249258
"dev_class": "climate",
250259
"model": "ThermoZone",
251260
"name": "Living room",
252-
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
253-
"select_schedule": "off",
261+
"preset_modes": [
262+
"vacation",
263+
"no_frost",
264+
"asleep",
265+
"home",
266+
"away"
267+
],
268+
"select_schedule": "Weekschema",
254269
"sensors": {
255-
"electricity_consumed": 64.8,
270+
"electricity_consumed": 60.8,
256271
"electricity_produced": 0.0,
257-
"temperature": 19.3
272+
"temperature": 19.7
258273
},
259274
"thermostat": {
260275
"lower_bound": 1.0,
261276
"resolution": 0.01,
262-
"setpoint": 21.0,
277+
"setpoint": 20.5,
263278
"upper_bound": 35.0
264279
},
265280
"thermostats": {
@@ -286,7 +301,13 @@
286301
"dev_class": "climate",
287302
"model": "ThermoZone",
288303
"name": "Bathroom",
289-
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
304+
"preset_modes": [
305+
"vacation",
306+
"no_frost",
307+
"asleep",
308+
"home",
309+
"away"
310+
],
290311
"select_schedule": "off",
291312
"sensors": {
292313
"electricity_consumed": 0.0,
@@ -300,8 +321,12 @@
300321
"upper_bound": 99.9
301322
},
302323
"thermostats": {
303-
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
304-
"secondary": ["1772a4ea304041adb83f357b751341ff"]
324+
"primary": [
325+
"e2f4322d57924fa090fbbc48b3a140dc"
326+
],
327+
"secondary": [
328+
"1772a4ea304041adb83f357b751341ff"
329+
]
305330
},
306331
"vendor": "Plugwise"
307332
}

0 commit comments

Comments
 (0)