Skip to content

Commit be03903

Browse files
authored
Merge pull request #643 from plugwise/climate-modes
Rename `mode` to `climate_mode`
2 parents 0753939 + 04214fd commit be03903

File tree

62 files changed

+120
-4267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+120
-4267
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Ongoing
4+
5+
- Rename mode to climate_mode.
6+
37
## v1.5.0
48

59
- Make timeout an internal parameter.

fixtures/adam_heatpump_cooling/all_data.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
"binary_sensors": {
5252
"low_battery": false
5353
},
54+
"climate_mode": "cool",
5455
"control_state": "off",
5556
"dev_class": "zone_thermostat",
5657
"firmware": "2016-10-10T02:00:00+02:00",
5758
"hardware": "255",
5859
"location": "b52908550469425b812c87f766fe5303",
59-
"mode": "cool",
6060
"model": "Lisa",
6161
"model_id": "158-01",
6262
"name": "Thermostaat BK",
@@ -177,12 +177,12 @@
177177
"Weekend",
178178
"off"
179179
],
180+
"climate_mode": "cool",
180181
"control_state": "off",
181182
"dev_class": "zone_thermostat",
182183
"firmware": "2016-10-10T02:00:00+02:00",
183184
"hardware": "255",
184185
"location": "20e735858f8146cead98b873177a4f99",
185-
"mode": "cool",
186186
"model": "Lisa",
187187
"model_id": "158-01",
188188
"name": "Thermostaat DB",
@@ -274,12 +274,12 @@
274274
"Weekend",
275275
"off"
276276
],
277+
"climate_mode": "cool",
277278
"control_state": "off",
278279
"dev_class": "zone_thermostat",
279280
"firmware": "2016-10-10T02:00:00+02:00",
280281
"hardware": "255",
281282
"location": "e39529c79ab54fda9bed26cfc0447546",
282-
"mode": "cool",
283283
"model": "Lisa",
284284
"model_id": "158-01",
285285
"name": "Thermostaat JM",
@@ -419,12 +419,12 @@
419419
"Weekend",
420420
"off"
421421
],
422+
"climate_mode": "cool",
422423
"control_state": "off",
423424
"dev_class": "zone_thermostat",
424425
"firmware": "2016-10-10T02:00:00+02:00",
425426
"hardware": "255",
426427
"location": "9a27714b970547ee9a6bdadc2b815ad5",
427-
"mode": "cool",
428428
"model": "Lisa",
429429
"model_id": "158-01",
430430
"name": "Thermostaat SQ",
@@ -464,12 +464,12 @@
464464
"Weekend",
465465
"off"
466466
],
467+
"climate_mode": "cool",
467468
"control_state": "off",
468469
"dev_class": "zone_thermostat",
469470
"firmware": "2016-10-10T02:00:00+02:00",
470471
"hardware": "255",
471472
"location": "93ac3f7bf25342f58cbb77c4a99ac0b3",
472-
"mode": "cool",
473473
"model": "Lisa",
474474
"model_id": "158-01",
475475
"name": "Thermostaat RB",
@@ -508,10 +508,10 @@
508508
"Weekend",
509509
"off"
510510
],
511+
"climate_mode": "auto",
511512
"control_state": "off",
512513
"dev_class": "thermostat",
513514
"location": "fa5fa6b34f6b40a0972988b20e888ed4",
514-
"mode": "auto",
515515
"model": "ThermoTouch",
516516
"model_id": "143.1",
517517
"name": "Thermostaat WK",
@@ -544,12 +544,12 @@
544544
"Weekend",
545545
"off"
546546
],
547+
"climate_mode": "cool",
547548
"control_state": "off",
548549
"dev_class": "zone_thermostat",
549550
"firmware": "2016-10-10T02:00:00+02:00",
550551
"hardware": "255",
551552
"location": "04b15f6e884448288f811d29fb7b1b30",
552-
"mode": "cool",
553553
"model": "Lisa",
554554
"model_id": "158-01",
555555
"name": "Thermostaat SJ",
@@ -592,12 +592,12 @@
592592
"binary_sensors": {
593593
"low_battery": false
594594
},
595+
"climate_mode": "auto",
595596
"control_state": "off",
596597
"dev_class": "zone_thermostat",
597598
"firmware": "2016-10-10T02:00:00+02:00",
598599
"hardware": "255",
599600
"location": "a562019b0b1f47a4bde8ebe3dbe3e8a9",
600-
"mode": "auto",
601601
"model": "Lisa",
602602
"model_id": "158-01",
603603
"name": "Thermostaat KK",
@@ -638,12 +638,12 @@
638638
"Weekend",
639639
"off"
640640
],
641+
"climate_mode": "auto",
641642
"control_state": "off",
642643
"dev_class": "zone_thermostat",
643644
"firmware": "2016-10-10T02:00:00+02:00",
644645
"hardware": "255",
645646
"location": "8cf650a4c10c44819e426bed406aec34",
646-
"mode": "auto",
647647
"model": "Lisa",
648648
"model_id": "158-01",
649649
"name": "Thermostaat BK1",
@@ -683,12 +683,12 @@
683683
"Weekend",
684684
"off"
685685
],
686+
"climate_mode": "auto",
686687
"control_state": "off",
687688
"dev_class": "zone_thermostat",
688689
"firmware": "2016-10-10T02:00:00+02:00",
689690
"hardware": "255",
690691
"location": "5cc21042f87f4b4c94ccb5537c47a53f",
691-
"mode": "auto",
692692
"model": "Lisa",
693693
"model_id": "158-01",
694694
"name": "Thermostaat BK2",

fixtures/adam_jip/all_data.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"binary_sensors": {
77
"low_battery": false
88
},
9+
"climate_mode": "heat",
910
"control_state": "off",
1011
"dev_class": "zone_thermostat",
1112
"firmware": "2016-10-27T02:00:00+02:00",
1213
"hardware": "255",
1314
"location": "06aecb3d00354375924f50c47af36bd2",
14-
"mode": "heat",
1515
"model": "Lisa",
1616
"model_id": "158-01",
1717
"name": "Slaapkamer",
@@ -113,12 +113,12 @@
113113
"binary_sensors": {
114114
"low_battery": false
115115
},
116+
"climate_mode": "heat",
116117
"control_state": "off",
117118
"dev_class": "zone_thermostat",
118119
"firmware": "2016-10-27T02:00:00+02:00",
119120
"hardware": "255",
120121
"location": "d27aede973b54be484f6842d1b2802ad",
121-
"mode": "heat",
122122
"model": "Lisa",
123123
"model_id": "158-01",
124124
"name": "Kinderkamer",
@@ -179,12 +179,12 @@
179179
"binary_sensors": {
180180
"low_battery": false
181181
},
182+
"climate_mode": "heat",
182183
"control_state": "off",
183184
"dev_class": "zone_thermostat",
184185
"firmware": "2016-10-27T02:00:00+02:00",
185186
"hardware": "255",
186187
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
187-
"mode": "heat",
188188
"model": "Lisa",
189189
"model_id": "158-01",
190190
"name": "Logeerkamer",
@@ -312,12 +312,12 @@
312312
"binary_sensors": {
313313
"low_battery": false
314314
},
315+
"climate_mode": "heat",
315316
"control_state": "off",
316317
"dev_class": "zone_thermometer",
317318
"firmware": "2020-09-01T02:00:00+02:00",
318319
"hardware": "1",
319320
"location": "13228dab8ce04617af318a2888b3c548",
320-
"mode": "heat",
321321
"model": "Jip",
322322
"model_id": "168-01",
323323
"name": "Woonkamer",

fixtures/adam_multiple_devices_per_zone/all_data.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@
126126
"binary_sensors": {
127127
"low_battery": false
128128
},
129+
"climate_mode": "auto",
129130
"dev_class": "zone_thermostat",
130131
"firmware": "2016-10-27T02:00:00+02:00",
131132
"hardware": "255",
132133
"location": "82fa13f017d240daa0d0ea1775420f24",
133-
"mode": "auto",
134134
"model": "Lisa",
135135
"model_id": "158-01",
136136
"name": "Zone Thermostat Jessie",
@@ -283,11 +283,11 @@
283283
"binary_sensors": {
284284
"low_battery": false
285285
},
286+
"climate_mode": "auto",
286287
"dev_class": "zone_thermostat",
287288
"firmware": "2016-08-02T02:00:00+02:00",
288289
"hardware": "255",
289290
"location": "c50f167537524366a5af7aa3942feb1e",
290-
"mode": "auto",
291291
"model": "Lisa",
292292
"model_id": "158-01",
293293
"name": "Zone Lisa WK",
@@ -382,11 +382,11 @@
382382
"binary_sensors": {
383383
"low_battery": false
384384
},
385+
"climate_mode": "heat",
385386
"dev_class": "zone_thermostat",
386387
"firmware": "2016-10-27T02:00:00+02:00",
387388
"hardware": "255",
388389
"location": "12493538af164a409c6a1c79e38afe1c",
389-
"mode": "heat",
390390
"model": "Lisa",
391391
"model_id": "158-01",
392392
"name": "Zone Lisa Bios",
@@ -432,11 +432,11 @@
432432
"binary_sensors": {
433433
"low_battery": false
434434
},
435+
"climate_mode": "heat",
435436
"dev_class": "thermostatic_radiator_valve",
436437
"firmware": "2019-03-27T01:00:00+01:00",
437438
"hardware": "1",
438439
"location": "446ac08dd04d4eff8ac57489757b7314",
439-
"mode": "heat",
440440
"model": "Tom/Floor",
441441
"model_id": "106-03",
442442
"name": "CV Kraan Garage",
@@ -484,11 +484,11 @@
484484
"binary_sensors": {
485485
"low_battery": false
486486
},
487+
"climate_mode": "auto",
487488
"dev_class": "zone_thermostat",
488489
"firmware": "2016-10-27T02:00:00+02:00",
489490
"hardware": "255",
490491
"location": "08963fec7c53423ca5680aa4cb502c63",
491-
"mode": "auto",
492492
"model": "Lisa",
493493
"model_id": "158-01",
494494
"name": "Zone Thermostat Badkamer",

fixtures/adam_onoff_cooling_fake_firmware/all_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
"Weekend",
7777
"off"
7878
],
79+
"climate_mode": "auto",
7980
"control_state": "off",
8081
"dev_class": "thermostat",
8182
"location": "fa5fa6b34f6b40a0972988b20e888ed4",
82-
"mode": "auto",
8383
"model": "ThermoTouch",
8484
"model_id": "143.1",
8585
"name": "Thermostaat WK",

fixtures/adam_plus_anna/all_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
"Weekschema",
7272
"off"
7373
],
74+
"climate_mode": "auto",
7475
"dev_class": "thermostat",
7576
"location": "009490cc2f674ce6b576863fbb64f867",
76-
"mode": "auto",
7777
"model": "ThermoTouch",
7878
"model_id": "143.1",
7979
"name": "Anna",

0 commit comments

Comments
 (0)