Skip to content

Commit f37bd7f

Browse files
committed
Save updated files
1 parent 2c66b41 commit f37bd7f

File tree

5 files changed

+444
-390
lines changed

5 files changed

+444
-390
lines changed

fixtures/adam_plus_anna_new/data.json

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -187,24 +187,15 @@
187187
},
188188
"dev_class": "gateway",
189189
"firmware": "3.9.0",
190-
"gateway_modes": [
191-
"away",
192-
"full",
193-
"vacation"
194-
],
190+
"gateway_modes": ["away", "full", "vacation"],
195191
"hardware": "AME Smile 2.0 board",
196192
"location": "bc93488efab249e5bc54fd7e175a6f91",
197193
"mac_address": "D40FB201CBA0",
198194
"model": "Gateway",
199195
"model_id": "smile_open_therm",
200196
"name": "Adam",
201197
"notifications": {},
202-
"regulation_modes": [
203-
"bleeding_cold",
204-
"heating",
205-
"off",
206-
"bleeding_hot"
207-
],
198+
"regulation_modes": ["bleeding_cold", "heating", "off", "bleeding_hot"],
208199
"select_gateway_mode": "full",
209200
"select_regulation_mode": "heating",
210201
"sensors": {
@@ -287,13 +278,7 @@
287278
"dev_class": "climate",
288279
"model": "ThermoZone",
289280
"name": "Living room",
290-
"preset_modes": [
291-
"vacation",
292-
"no_frost",
293-
"asleep",
294-
"home",
295-
"away"
296-
],
281+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
297282
"select_schedule": "Weekschema",
298283
"sensors": {
299284
"electricity_consumed": 60.8,
@@ -330,13 +315,7 @@
330315
"dev_class": "climate",
331316
"model": "ThermoZone",
332317
"name": "Bathroom",
333-
"preset_modes": [
334-
"vacation",
335-
"no_frost",
336-
"asleep",
337-
"home",
338-
"away"
339-
],
318+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
340319
"select_schedule": "off",
341320
"sensors": {
342321
"electricity_consumed": 0.0,
@@ -350,12 +329,8 @@
350329
"upper_bound": 99.9
351330
},
352331
"thermostats": {
353-
"primary": [
354-
"e2f4322d57924fa090fbbc48b3a140dc"
355-
],
356-
"secondary": [
357-
"1772a4ea304041adb83f357b751341ff"
358-
]
332+
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
333+
"secondary": ["1772a4ea304041adb83f357b751341ff"]
359334
},
360335
"vendor": "Plugwise"
361336
}

fixtures/m_adam_cooling/data.json

Lines changed: 72 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,32 @@
2525
"dhw_cm_switch": false
2626
}
2727
},
28+
"14df5c4dc8cb4ba69f9d1ac0eaf7c5c6": {
29+
"available": true,
30+
"binary_sensors": {
31+
"low_battery": false
32+
},
33+
"dev_class": "zone_thermostat",
34+
"hardware": "1",
35+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
36+
"model": "Emma",
37+
"model_id": "170-01",
38+
"name": "Emma",
39+
"sensors": {
40+
"battery": 100,
41+
"humidity": 65.0,
42+
"setpoint": 20.5,
43+
"temperature": 19.7
44+
},
45+
"temperature_offset": {
46+
"lower_bound": -2.0,
47+
"resolution": 0.1,
48+
"setpoint": 0.0,
49+
"upper_bound": 2.0
50+
},
51+
"vendor": "Plugwise",
52+
"zigbee_mac_address": "60EFABFFFE89CBA0"
53+
},
2854
"1772a4ea304041adb83f357b751341ff": {
2955
"available": true,
3056
"binary_sensors": {
@@ -38,11 +64,11 @@
3864
"model_id": "106-03",
3965
"name": "Tom Badkamer",
4066
"sensors": {
41-
"battery": 99,
42-
"setpoint": 18.0,
67+
"battery": 60,
68+
"setpoint": 12.0,
4369
"temperature": 21.6,
44-
"temperature_difference": -0.2,
45-
"valve_position": 100
70+
"temperature_difference": -0.4,
71+
"valve_position": 0.0
4672
},
4773
"temperature_offset": {
4874
"lower_bound": -2.0,
@@ -51,7 +77,7 @@
5177
"upper_bound": 2.0
5278
},
5379
"vendor": "Plugwise",
54-
"zigbee_mac_address": "000D6F000C8FF5EE"
80+
"zigbee_mac_address": "000D6F000C8FCBA0"
5581
},
5682
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
5783
"available": true,
@@ -71,20 +97,20 @@
7197
"plugwise_notification": false
7298
},
7399
"dev_class": "gateway",
74-
"firmware": "3.7.8",
100+
"firmware": "3.9.0",
75101
"gateway_modes": ["away", "full", "vacation"],
76102
"hardware": "AME Smile 2.0 board",
77103
"location": "bc93488efab249e5bc54fd7e175a6f91",
78-
"mac_address": "012345679891",
104+
"mac_address": "D40FB201CBA0",
79105
"model": "Gateway",
80106
"model_id": "smile_open_therm",
81107
"name": "Adam",
82108
"notifications": {},
83109
"regulation_modes": [
84-
"bleeding_hot",
85110
"bleeding_cold",
86-
"off",
87111
"heating",
112+
"off",
113+
"bleeding_hot",
88114
"cooling"
89115
],
90116
"select_gateway_mode": "full",
@@ -93,12 +119,33 @@
93119
"outdoor_temperature": 29.65
94120
},
95121
"vendor": "Plugwise",
96-
"zigbee_mac_address": "000D6F000D5A168D"
122+
"zigbee_mac_address": "000D6F000D5ACBA0"
123+
},
124+
"da575e9e09b947e281fb6e3ebce3b174": {
125+
"available": true,
126+
"binary_sensors": {
127+
"low_battery": false
128+
},
129+
"dev_class": "zone_thermometer",
130+
"firmware": "2020-09-01T02:00:00+02:00",
131+
"hardware": "1",
132+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
133+
"model": "Jip",
134+
"model_id": "168-01",
135+
"name": "Jip",
136+
"sensors": {
137+
"battery": 100,
138+
"humidity": 65.8,
139+
"setpoint": 20.5,
140+
"temperature": 20.4
141+
},
142+
"vendor": "Plugwise",
143+
"zigbee_mac_address": "70AC08FFFEE1CBA0"
97144
},
98145
"e2f4322d57924fa090fbbc48b3a140dc": {
99146
"available": true,
100147
"binary_sensors": {
101-
"low_battery": true
148+
"low_battery": false
102149
},
103150
"dev_class": "zone_thermostat",
104151
"firmware": "2016-10-10T02:00:00+02:00",
@@ -108,7 +155,7 @@
108155
"model_id": "158-01",
109156
"name": "Lisa Badkamer",
110157
"sensors": {
111-
"battery": 14,
158+
"battery": 71,
112159
"setpoint": 23.5,
113160
"temperature": 23.9
114161
},
@@ -119,7 +166,7 @@
119166
"upper_bound": 2.0
120167
},
121168
"vendor": "Plugwise",
122-
"zigbee_mac_address": "000D6F000C869B61"
169+
"zigbee_mac_address": "000D6F000C86CBA0"
123170
},
124171
"e8ef2a01ed3b4139a53bf749204fe6b4": {
125172
"dev_class": "switching",
@@ -138,20 +185,20 @@
138185
"active_preset": "home",
139186
"available_schedules": [
140187
"Badkamer",
141-
"Test",
142188
"Vakantie",
143189
"Weekschema",
190+
"Test",
144191
"off"
145192
],
146193
"climate_mode": "cool",
147194
"control_state": "cooling",
148195
"dev_class": "climate",
149196
"model": "ThermoZone",
150197
"name": "Living room",
151-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
198+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
152199
"select_schedule": "off",
153200
"sensors": {
154-
"electricity_consumed": 149.9,
201+
"electricity_consumed": 60.8,
155202
"electricity_produced": 0.0,
156203
"temperature": 25.8
157204
},
@@ -162,27 +209,31 @@
162209
"upper_bound": 35.0
163210
},
164211
"thermostats": {
165-
"primary": ["ad4838d7d35c4d6ea796ee12ae5aedf8"],
212+
"primary": [
213+
"ad4838d7d35c4d6ea796ee12ae5aedf8",
214+
"14df5c4dc8cb4ba69f9d1ac0eaf7c5c6",
215+
"da575e9e09b947e281fb6e3ebce3b174"
216+
],
166217
"secondary": []
167218
},
168219
"vendor": "Plugwise"
169220
},
170221
"f871b8c4d63549319221e294e4f88074": {
171-
"active_preset": "home",
222+
"active_preset": "vacation",
172223
"available_schedules": [
173224
"Badkamer",
174-
"Test",
175225
"Vakantie",
176226
"Weekschema",
227+
"Test",
177228
"off"
178229
],
179230
"climate_mode": "auto",
180231
"control_state": "cooling",
181232
"dev_class": "climate",
182233
"model": "ThermoZone",
183234
"name": "Bathroom",
184-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
185-
"select_schedule": "Badkamer",
235+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
236+
"select_schedule": "off",
186237
"sensors": {
187238
"electricity_consumed": 0.0,
188239
"electricity_produced": 0.0,

0 commit comments

Comments
 (0)