Skip to content

Commit b35ae9f

Browse files
committed
Update anna test-jsons
1 parent 699b6b6 commit b35ae9f

16 files changed

+381
-181
lines changed

tests/data/anna/anna_elga_2.json

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,46 @@
2929
},
3030
"vendor": "Techneco"
3131
},
32-
"ebd90df1ab334565b5895f37590ccff4": {
32+
"d3ce834534114348be628b61b26d9220": {
3333
"active_preset": "home",
3434
"available_schedules": ["Thermostat schedule", "off"],
3535
"climate_mode": "auto",
36-
"control_state": "heating",
36+
"control_state": "idle",
37+
"dev_class": "climate",
38+
"model": "ThermoZone",
39+
"name": "Living room",
40+
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
41+
"select_schedule": "Thermostat schedule",
42+
"sensors": {
43+
"setpoint_high": 30.0,
44+
"setpoint_low": 19.5,
45+
"temperature": 19.2
46+
},
47+
"thermostat": {
48+
"lower_bound": 4.0,
49+
"resolution": 0.1,
50+
"setpoint_high": 30.0,
51+
"setpoint_low": 19.5,
52+
"upper_bound": 30.0
53+
},
54+
"thermostats": {
55+
"primary": ["ebd90df1ab334565b5895f37590ccff4"],
56+
"secondary": []
57+
},
58+
"vendor": "Plugwise"
59+
},
60+
"ebd90df1ab334565b5895f37590ccff4": {
3761
"dev_class": "thermostat",
3862
"firmware": "2018-02-08T11:15:53+01:00",
3963
"hardware": "6539-1301-5002",
4064
"location": "d3ce834534114348be628b61b26d9220",
4165
"model": "ThermoTouch",
4266
"name": "Anna",
43-
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
44-
"select_schedule": "Thermostat schedule",
4567
"sensors": {
4668
"cooling_activation_outdoor_temperature": 24.0,
4769
"cooling_deactivation_threshold": 2.0,
4870
"illuminance": 0.5,
49-
"setpoint_high": 30.0,
50-
"setpoint_low": 19.5,
71+
"setpoint": 19.5,
5172
"temperature": 19.2
5273
},
5374
"temperature_offset": {
@@ -56,13 +77,6 @@
5677
"setpoint": 0.0,
5778
"upper_bound": 2.0
5879
},
59-
"thermostat": {
60-
"lower_bound": 4.0,
61-
"resolution": 0.1,
62-
"setpoint_high": 30.0,
63-
"setpoint_low": 19.5,
64-
"upper_bound": 30.0
65-
},
6680
"vendor": "Plugwise"
6781
},
6882
"fb49af122f6e4b0f91267e1cf7666d6f": {

tests/data/anna/anna_elga_2_cooling.json

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,46 @@
3535
},
3636
"vendor": "Techneco"
3737
},
38-
"ebd90df1ab334565b5895f37590ccff4": {
38+
"d3ce834534114348be628b61b26d9220": {
3939
"active_preset": "home",
4040
"available_schedules": ["Thermostat schedule", "off"],
4141
"climate_mode": "auto",
42-
"control_state": "cooling",
42+
"control_state": "idle",
43+
"dev_class": "climate",
44+
"model": "ThermoZone",
45+
"name": "Living room",
46+
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
47+
"select_schedule": "Thermostat schedule",
48+
"sensors": {
49+
"setpoint_high": 23.0,
50+
"setpoint_low": 4.0,
51+
"temperature": 24.9
52+
},
53+
"thermostat": {
54+
"lower_bound": 4.0,
55+
"resolution": 0.1,
56+
"setpoint_high": 23.0,
57+
"setpoint_low": 4.0,
58+
"upper_bound": 30.0
59+
},
60+
"thermostats": {
61+
"primary": ["ebd90df1ab334565b5895f37590ccff4"],
62+
"secondary": []
63+
},
64+
"vendor": "Plugwise"
65+
},
66+
"ebd90df1ab334565b5895f37590ccff4": {
4367
"dev_class": "thermostat",
4468
"firmware": "2018-02-08T11:15:53+01:00",
4569
"hardware": "6539-1301-5002",
4670
"location": "d3ce834534114348be628b61b26d9220",
4771
"model": "ThermoTouch",
4872
"name": "Anna",
49-
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
50-
"select_schedule": "Thermostat schedule",
5173
"sensors": {
5274
"cooling_activation_outdoor_temperature": 26.0,
5375
"cooling_deactivation_threshold": 3.0,
5476
"illuminance": 0.5,
55-
"setpoint_high": 23.0,
56-
"setpoint_low": 4.0,
77+
"setpoint": 23.0,
5778
"temperature": 24.9
5879
},
5980
"temperature_offset": {
@@ -62,13 +83,6 @@
6283
"setpoint": 0.0,
6384
"upper_bound": 2.0
6485
},
65-
"thermostat": {
66-
"lower_bound": 4.0,
67-
"resolution": 0.1,
68-
"setpoint_high": 23.0,
69-
"setpoint_low": 4.0,
70-
"upper_bound": 30.0
71-
},
7286
"vendor": "Plugwise"
7387
},
7488
"fb49af122f6e4b0f91267e1cf7666d6f": {

tests/data/anna/anna_elga_2_cooling_UPDATED_DATA.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,16 @@
3636
"vendor": "Techneco"
3737
},
3838
"ebd90df1ab334565b5895f37590ccff4": {
39-
"active_preset": "home",
40-
"available_schedules": ["Thermostat schedule", "off"],
41-
"climate_mode": "auto",
42-
"control_state": "heating",
4339
"dev_class": "thermostat",
4440
"firmware": "2018-02-08T11:15:53+01:00",
4541
"hardware": "6539-1301-5002",
4642
"location": "d3ce834534114348be628b61b26d9220",
4743
"model": "ThermoTouch",
4844
"name": "Anna",
49-
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
50-
"select_schedule": "Thermostat schedule",
5145
"sensors": {
5246
"cooling_activation_outdoor_temperature": 26.0,
5347
"cooling_deactivation_threshold": 3.0,
5448
"illuminance": 0.5,
55-
"setpoint_high": 30.0,
56-
"setpoint_low": 19.5,
5749
"temperature": 18.9
5850
},
5951
"temperature_offset": {
@@ -62,13 +54,32 @@
6254
"setpoint": 0.0,
6355
"upper_bound": 2.0
6456
},
57+
"vendor": "Plugwise"
58+
},
59+
"d3ce834534114348be628b61b26d9220": {
60+
"active_preset": "home",
61+
"available_schedules": ["Thermostat schedule", "off"],
62+
"climate_mode": "auto",
63+
"control_state": "heating",
64+
"dev_class": "climate",
65+
"model": "ThermoZone",
66+
"name": "Living room",
67+
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
68+
"select_schedule": "Thermostat schedule",
69+
"sensors": {
70+
"temperature": 18.9
71+
},
6572
"thermostat": {
6673
"lower_bound": 4.0,
6774
"resolution": 0.1,
6875
"setpoint_high": 30.0,
6976
"setpoint_low": 19.5,
7077
"upper_bound": 30.0
7178
},
79+
"thermostats": {
80+
"primary": ["ebd90df1ab334565b5895f37590ccff4"],
81+
"secondary": []
82+
},
7283
"vendor": "Plugwise"
7384
},
7485
"fb49af122f6e4b0f91267e1cf7666d6f": {

tests/data/anna/anna_elga_2_schedule_off.json

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,46 @@
3535
},
3636
"vendor": "Techneco"
3737
},
38-
"ebd90df1ab334565b5895f37590ccff4": {
38+
"d3ce834534114348be628b61b26d9220": {
3939
"active_preset": "home",
4040
"available_schedules": ["Thermostat schedule", "off"],
4141
"climate_mode": "heat_cool",
4242
"control_state": "idle",
43+
"dev_class": "climate",
44+
"model": "ThermoZone",
45+
"name": "Living room",
46+
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
47+
"select_schedule": "off",
48+
"sensors": {
49+
"setpoint_high": 30.0,
50+
"setpoint_low": 19.5,
51+
"temperature": 20.9
52+
},
53+
"thermostat": {
54+
"lower_bound": 4.0,
55+
"resolution": 0.1,
56+
"setpoint_high": 30.0,
57+
"setpoint_low": 19.5,
58+
"upper_bound": 30.0
59+
},
60+
"thermostats": {
61+
"primary": ["ebd90df1ab334565b5895f37590ccff4"],
62+
"secondary": []
63+
},
64+
"vendor": "Plugwise"
65+
},
66+
"ebd90df1ab334565b5895f37590ccff4": {
4367
"dev_class": "thermostat",
4468
"firmware": "2018-02-08T11:15:53+01:00",
4569
"hardware": "6539-1301-5002",
4670
"location": "d3ce834534114348be628b61b26d9220",
4771
"model": "ThermoTouch",
4872
"name": "Anna",
49-
"preset_modes": ["away", "no_frost", "vacation", "home", "asleep"],
50-
"select_schedule": "off",
5173
"sensors": {
5274
"cooling_activation_outdoor_temperature": 26.0,
5375
"cooling_deactivation_threshold": 3.0,
5476
"illuminance": 0.5,
55-
"setpoint_high": 30.0,
56-
"setpoint_low": 19.5,
77+
"setpoint": 19.5,
5778
"temperature": 20.9
5879
},
5980
"temperature_offset": {
@@ -62,13 +83,6 @@
6283
"setpoint": 0.0,
6384
"upper_bound": 2.0
6485
},
65-
"thermostat": {
66-
"lower_bound": 4.0,
67-
"resolution": 0.1,
68-
"setpoint_high": 30.0,
69-
"setpoint_low": 19.5,
70-
"upper_bound": 30.0
71-
},
7286
"vendor": "Plugwise"
7387
},
7488
"fb49af122f6e4b0f91267e1cf7666d6f": {

tests/data/anna/anna_elga_no_cooling.json

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,12 @@
5858
"vendor": "Techneco"
5959
},
6060
"3cb70739631c4d17a86b8b12e8a5161b": {
61-
"active_preset": "home",
62-
"available_schedules": ["standaard", "off"],
63-
"climate_mode": "auto",
64-
"control_state": "heating",
6561
"dev_class": "thermostat",
6662
"firmware": "2018-02-08T11:15:53+01:00",
6763
"hardware": "6539-1301-5002",
6864
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
6965
"model": "ThermoTouch",
7066
"name": "Anna",
71-
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],
72-
"select_schedule": "standaard",
7367
"sensors": {
7468
"cooling_activation_outdoor_temperature": 21.0,
7569
"cooling_deactivation_threshold": 4.0,
@@ -83,12 +77,31 @@
8377
"setpoint": -0.5,
8478
"upper_bound": 2.0
8579
},
80+
"vendor": "Plugwise"
81+
},
82+
"c784ee9fdab44e1395b8dee7d7a497d5": {
83+
"active_preset": "home",
84+
"available_schedules": ["standaard", "off"],
85+
"climate_mode": "auto",
86+
"control_state": "heating",
87+
"dev_class": "climate",
88+
"model": "ThermoZone",
89+
"name": "Living room",
90+
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],
91+
"select_schedule": "standaard",
92+
"sensors": {
93+
"temperature": 19.3
94+
},
8695
"thermostat": {
8796
"lower_bound": 4.0,
8897
"resolution": 0.1,
8998
"setpoint": 20.5,
9099
"upper_bound": 30.0
91100
},
101+
"thermostats": {
102+
"primary": ["3cb70739631c4d17a86b8b12e8a5161b"],
103+
"secondary": []
104+
},
92105
"vendor": "Plugwise"
93106
}
94107
}

tests/data/anna/anna_heatpump_cooling.json

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,17 @@
5555
"vendor": "Techneco"
5656
},
5757
"3cb70739631c4d17a86b8b12e8a5161b": {
58-
"active_preset": "home",
59-
"available_schedules": ["standaard", "off"],
60-
"climate_mode": "heat_cool",
61-
"control_state": "cooling",
6258
"dev_class": "thermostat",
6359
"firmware": "2018-02-08T11:15:53+01:00",
6460
"hardware": "6539-1301-5002",
6561
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
6662
"model": "ThermoTouch",
6763
"name": "Anna",
68-
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],
69-
"select_schedule": "off",
7064
"sensors": {
7165
"cooling_activation_outdoor_temperature": 21.0,
7266
"cooling_deactivation_threshold": 6.0,
7367
"illuminance": 24.5,
74-
"setpoint_high": 22.0,
75-
"setpoint_low": 4.0,
68+
"setpoint": 22.0,
7669
"temperature": 22.3
7770
},
7871
"temperature_offset": {
@@ -81,13 +74,34 @@
8174
"setpoint": -0.5,
8275
"upper_bound": 2.0
8376
},
77+
"vendor": "Plugwise"
78+
},
79+
"c784ee9fdab44e1395b8dee7d7a497d5": {
80+
"active_preset": "home",
81+
"available_schedules": ["standaard", "off"],
82+
"climate_mode": "heat_cool",
83+
"control_state": "idle",
84+
"dev_class": "climate",
85+
"model": "ThermoZone",
86+
"name": "Living room",
87+
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],
88+
"select_schedule": "off",
89+
"sensors": {
90+
"setpoint_high": 22.0,
91+
"setpoint_low": 4.0,
92+
"temperature": 22.3
93+
},
8494
"thermostat": {
8595
"lower_bound": 4.0,
8696
"resolution": 0.1,
8797
"setpoint_high": 22.0,
8898
"setpoint_low": 4.0,
8999
"upper_bound": 30.0
90100
},
101+
"thermostats": {
102+
"primary": ["3cb70739631c4d17a86b8b12e8a5161b"],
103+
"secondary": []
104+
},
91105
"vendor": "Plugwise"
92106
}
93107
}

0 commit comments

Comments
 (0)