Skip to content

Commit cc22705

Browse files
committed
Update test-asserts
1 parent fc51d0e commit cc22705

32 files changed

+484
-484
lines changed

tests/data/adam/adam_heatpump_cooling.json

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@
1010
"dev_class": "heater_central",
1111
"location": "eedadcb297564f1483faa509179aebed",
1212
"max_dhw_temperature": {
13-
"lower_bound": 40,
13+
"lower_bound": 40.0,
1414
"resolution": 0.01,
15-
"setpoint": 60,
16-
"upper_bound": 65
15+
"setpoint": 60.0,
16+
"upper_bound": 65.0
1717
},
1818
"maximum_boiler_temperature": {
19-
"lower_bound": 7,
19+
"lower_bound": 7.0,
2020
"resolution": 0.01,
21-
"setpoint": 35,
22-
"upper_bound": 50
21+
"setpoint": 35.0,
22+
"upper_bound": 50.0
2323
},
2424
"model": "Generic heater/cooler",
2525
"model_id": "17.1",
2626
"name": "OpenTherm",
2727
"sensors": {
2828
"dhw_temperature": 63.5,
29-
"intended_boiler_temperature": 0,
30-
"modulation_level": 0,
29+
"intended_boiler_temperature": 0.0,
30+
"modulation_level": 0.0,
3131
"outdoor_air_temperature": 13.5,
3232
"return_temperature": 24.9,
33-
"water_pressure": 2,
33+
"water_pressure": 2.0,
3434
"water_temperature": 24.5
3535
},
3636
"switches": {
@@ -59,13 +59,13 @@
5959
"select_schedule": "off",
6060
"sensors": {
6161
"battery": 55,
62-
"setpoint": 18,
62+
"setpoint": 18.0,
6363
"temperature": 18.8
6464
},
6565
"thermostat": {
66-
"lower_bound": 0,
66+
"lower_bound": 0.0,
6767
"resolution": 0.01,
68-
"setpoint": 18,
68+
"setpoint": 18.0,
6969
"upper_bound": 99.9
7070
},
7171
"vendor": "Plugwise",
@@ -79,10 +79,10 @@
7979
"model": "Plug",
8080
"name": "Smart Plug DB",
8181
"sensors": {
82-
"electricity_consumed": 0,
83-
"electricity_consumed_interval": 0,
84-
"electricity_produced": 0,
85-
"electricity_produced_interval": 0
82+
"electricity_consumed": 0.0,
83+
"electricity_consumed_interval": 0.0,
84+
"electricity_produced": 0.0,
85+
"electricity_produced_interval": 0.0
8686
},
8787
"switches": {
8888
"relay": false
@@ -99,9 +99,9 @@
9999
"name": "Smart Plug KK",
100100
"sensors": {
101101
"electricity_consumed": 2.13,
102-
"electricity_consumed_interval": 0,
103-
"electricity_produced": 0,
104-
"electricity_produced_interval": 0
102+
"electricity_consumed_interval": 0.0,
103+
"electricity_produced": 0.0,
104+
"electricity_produced_interval": 0.0
105105
},
106106
"switches": {
107107
"relay": true
@@ -117,10 +117,10 @@
117117
"model": "Plug",
118118
"name": "Smart Plug SJ",
119119
"sensors": {
120-
"electricity_consumed": 0,
121-
"electricity_consumed_interval": 0,
122-
"electricity_produced": 0,
123-
"electricity_produced_interval": 0
120+
"electricity_consumed": 0.0,
121+
"electricity_consumed_interval": 0.0,
122+
"electricity_produced": 0.0,
123+
"electricity_produced_interval": 0.0
124124
},
125125
"switches": {
126126
"relay": false
@@ -136,10 +136,10 @@
136136
"model": "Plug",
137137
"name": "Smart Plug WK",
138138
"sensors": {
139-
"electricity_consumed": 0,
140-
"electricity_consumed_interval": 0,
141-
"electricity_produced": 0,
142-
"electricity_produced_interval": 0
139+
"electricity_consumed": 0.0,
140+
"electricity_consumed_interval": 0.0,
141+
"electricity_produced": 0.0,
142+
"electricity_produced_interval": 0.0
143143
},
144144
"switches": {
145145
"relay": false
@@ -171,9 +171,9 @@
171171
"temperature": 22
172172
},
173173
"thermostat": {
174-
"lower_bound": 0,
174+
"lower_bound": 0.0,
175175
"resolution": 0.01,
176-
"setpoint": 18,
176+
"setpoint": 18.0,
177177
"upper_bound": 99.9
178178
},
179179
"vendor": "Plugwise",
@@ -187,10 +187,10 @@
187187
"model": "Plug",
188188
"name": "Smart Plug SQ",
189189
"sensors": {
190-
"electricity_consumed": 0,
191-
"electricity_consumed_interval": 0,
192-
"electricity_produced": 0,
193-
"electricity_produced_interval": 0
190+
"electricity_consumed": 0.0,
191+
"electricity_consumed_interval": 0.0,
192+
"electricity_produced": 0.0,
193+
"electricity_produced_interval": 0.0
194194
},
195195
"switches": {
196196
"relay": false
@@ -245,13 +245,13 @@
245245
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
246246
"select_schedule": "off",
247247
"sensors": {
248-
"setpoint": 18,
249-
"temperature": 20
248+
"setpoint": 18.0,
249+
"temperature": 20.0
250250
},
251251
"thermostat": {
252-
"lower_bound": 0,
252+
"lower_bound": 0.0,
253253
"resolution": 0.01,
254-
"setpoint": 18,
254+
"setpoint": 18.0,
255255
"upper_bound": 99.9
256256
},
257257
"vendor": "Plugwise",
@@ -265,10 +265,10 @@
265265
"model": "Plug",
266266
"name": "Smart Plug BK",
267267
"sensors": {
268-
"electricity_consumed": 0,
269-
"electricity_consumed_interval": 0,
270-
"electricity_produced": 0,
271-
"electricity_produced_interval": 0
268+
"electricity_consumed": 0.0,
269+
"electricity_consumed_interval": 0.0,
270+
"electricity_produced": 0.0,
271+
"electricity_produced_interval": 0.0
272272
},
273273
"switches": {
274274
"relay": false
@@ -284,10 +284,10 @@
284284
"model": "Plug",
285285
"name": "Smart Plug BK2",
286286
"sensors": {
287-
"electricity_consumed": 0,
288-
"electricity_consumed_interval": 0,
289-
"electricity_produced": 0,
290-
"electricity_produced_interval": 0
287+
"electricity_consumed": 0.0,
288+
"electricity_consumed_interval": 0.0,
289+
"electricity_produced": 0.0,
290+
"electricity_produced_interval": 0.0
291291
},
292292
"switches": {
293293
"relay": false
@@ -303,10 +303,10 @@
303303
"model": "Plug",
304304
"name": "Smart Plug JM",
305305
"sensors": {
306-
"electricity_consumed": 0,
307-
"electricity_consumed_interval": 0,
308-
"electricity_produced": 0,
309-
"electricity_produced_interval": 0
306+
"electricity_consumed": 0.0,
307+
"electricity_consumed_interval": 0.0,
308+
"electricity_produced": 0.0,
309+
"electricity_produced_interval": 0.0
310310
},
311311
"switches": {
312312
"relay": false
@@ -324,8 +324,8 @@
324324
"sensors": {
325325
"electricity_consumed": 3.13,
326326
"electricity_consumed_interval": 0.77,
327-
"electricity_produced": 0,
328-
"electricity_produced_interval": 0
327+
"electricity_produced": 0.0,
328+
"electricity_produced_interval": 0.0
329329
},
330330
"switches": {
331331
"relay": false
@@ -341,10 +341,10 @@
341341
"model": "Plug",
342342
"name": "Smart Plug BK1",
343343
"sensors": {
344-
"electricity_consumed": 0,
345-
"electricity_consumed_interval": 0,
346-
"electricity_produced": 0,
347-
"electricity_produced_interval": 0
344+
"electricity_consumed": 0.0,
345+
"electricity_consumed_interval": 0.0,
346+
"electricity_produced": 0.0,
347+
"electricity_produced_interval": 0.0
348348
},
349349
"switches": {
350350
"relay": false
@@ -376,7 +376,7 @@
376376
"temperature": 21.4
377377
},
378378
"thermostat": {
379-
"lower_bound": 0,
379+
"lower_bound": 0.0,
380380
"resolution": 0.01,
381381
"setpoint": 18.5,
382382
"upper_bound": 99.9
@@ -404,13 +404,13 @@
404404
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
405405
"select_schedule": "off",
406406
"sensors": {
407-
"setpoint": 17,
407+
"setpoint": 17.0,
408408
"temperature": 20.7
409409
},
410410
"thermostat": {
411-
"lower_bound": 0,
411+
"lower_bound": 0.0,
412412
"resolution": 0.01,
413-
"setpoint": 17,
413+
"setpoint": 17.0,
414414
"upper_bound": 99.9
415415
},
416416
"vendor": "Plugwise",
@@ -437,10 +437,10 @@
437437
"temperature": 22.5
438438
},
439439
"thermostat": {
440-
"lower_bound": 1,
440+
"lower_bound": 1.0,
441441
"resolution": 0.01,
442442
"setpoint": 21.5,
443-
"upper_bound": 35
443+
"upper_bound": 35.0
444444
},
445445
"vendor": "Plugwise"
446446
},
@@ -468,7 +468,7 @@
468468
"temperature": 22.6
469469
},
470470
"thermostat": {
471-
"lower_bound": 0,
471+
"lower_bound": 0.0,
472472
"resolution": 0.01,
473473
"setpoint": 20.5,
474474
"upper_bound": 99.9
@@ -501,7 +501,7 @@
501501
"temperature": 22.5
502502
},
503503
"thermostat": {
504-
"lower_bound": 0,
504+
"lower_bound": 0.0,
505505
"resolution": 0.01,
506506
"setpoint": 21.5,
507507
"upper_bound": 99.9
@@ -533,7 +533,7 @@
533533
"temperature": 21.5
534534
},
535535
"thermostat": {
536-
"lower_bound": 0,
536+
"lower_bound": 0.0,
537537
"resolution": 0.01,
538538
"setpoint": 20.5,
539539
"upper_bound": 99.9
@@ -565,7 +565,7 @@
565565
"temperature": 21.9
566566
},
567567
"thermostat": {
568-
"lower_bound": 0,
568+
"lower_bound": 0.0,
569569
"resolution": 0.01,
570570
"setpoint": 20.5,
571571
"upper_bound": 99.9

0 commit comments

Comments
 (0)