Skip to content

Commit 26f8e0f

Browse files
committed
Save updated fixture files
1 parent dd53b9b commit 26f8e0f

File tree

16 files changed

+401
-181
lines changed

16 files changed

+401
-181
lines changed

fixtures/anna_elga_2/data.json

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

fixtures/anna_elga_2_cooling/data.json

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

fixtures/anna_elga_2_schedule_off/data.json

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

fixtures/anna_elga_no_cooling/data.json

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

fixtures/anna_heatpump_cooling/data.json

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

fixtures/anna_heatpump_cooling_fake_firmware/data.json

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

0 commit comments

Comments
 (0)