Skip to content

Commit a90eb17

Browse files
committed
Update adam_plus_anna_new test-json
1 parent aed6591 commit a90eb17

File tree

1 file changed

+166
-158
lines changed

1 file changed

+166
-158
lines changed

tests/data/adam/adam_plus_anna_new.json

Lines changed: 166 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -1,232 +1,240 @@
11
{
2-
"da224107914542988a88561b4452b0f6": {
3-
"dev_class": "gateway",
4-
"firmware": "3.7.8",
5-
"hardware": "AME Smile 2.0 board",
6-
"location": "bc93488efab249e5bc54fd7e175a6f91",
7-
"mac_address": "012345679891",
8-
"model": "Gateway",
9-
"name": "Adam",
10-
"zigbee_mac_address": "000D6F000D5A168D",
11-
"vendor": "Plugwise",
2+
"056ee145a816487eaa69243c3280f8bf": {
3+
"available": true,
124
"binary_sensors": {
13-
"plugwise_notification": false
14-
},
15-
"sensors": {
16-
"outdoor_temperature": 9.19
5+
"dhw_state": false,
6+
"flame_state": true,
7+
"heating_state": true
178
},
18-
"select_regulation_mode": "heating",
19-
"regulation_modes": ["bleeding_hot", "bleeding_cold", "off", "heating"],
20-
"gateway_modes": ["away", "full", "vacation"],
21-
"select_gateway_mode": "full"
22-
},
23-
"056ee145a816487eaa69243c3280f8bf": {
249
"dev_class": "heater_central",
2510
"location": "bc93488efab249e5bc54fd7e175a6f91",
11+
"maximum_boiler_temperature": {
12+
"lower_bound": 25.0,
13+
"resolution": 0.01,
14+
"setpoint": 50.0,
15+
"upper_bound": 95.0
16+
},
2617
"model": "Generic heater",
2718
"name": "OpenTherm",
19+
"sensors": {
20+
"intended_boiler_temperature": 23.9,
21+
"water_temperature": 30.0
22+
},
23+
"switches": {
24+
"dhw_cm_switch": false
25+
}
26+
},
27+
"1772a4ea304041adb83f357b751341ff": {
28+
"available": true,
2829
"binary_sensors": {
29-
"dhw_state": false,
30-
"heating_state": true,
31-
"flame_state": true
30+
"low_battery": false
3231
},
32+
"dev_class": "thermo_sensor",
33+
"firmware": "2020-11-04T01:00:00+01:00",
34+
"hardware": "1",
35+
"location": "f871b8c4d63549319221e294e4f88074",
36+
"model": "Tom/Floor",
37+
"model_id": "106-03",
38+
"name": "Tom Badkamer",
39+
"sensors": {
40+
"battery": 99,
41+
"setpoint": 18.0,
42+
"temperature": 17.6,
43+
"temperature_difference": -0.2,
44+
"valve_position": 100
45+
},
46+
"temperature_offset": {
47+
"lower_bound": -2.0,
48+
"resolution": 0.1,
49+
"setpoint": 0.1,
50+
"upper_bound": 2.0
51+
},
52+
"vendor": "Plugwise",
53+
"zigbee_mac_address": "000D6F000C8FF5EE"
54+
},
55+
"2568cc4b9c1e401495d4741a5f89bee1": {
56+
"available": true,
57+
"dev_class": "hometheater",
58+
"firmware": "2020-11-10T01:00:00+01:00",
59+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
60+
"model": "Plug",
61+
"model_id": "160-01",
62+
"name": "Plug MediaTV",
3363
"sensors": {
34-
"water_temperature": 30,
35-
"intended_boiler_temperature": 23.9
64+
"electricity_consumed": 14.8,
65+
"electricity_consumed_interval": 3.0,
66+
"electricity_produced": 0.0,
67+
"electricity_produced_interval": 0.0
3668
},
3769
"switches": {
38-
"dhw_cm_switch": false
70+
"lock": true,
71+
"relay": true
3972
},
40-
"maximum_boiler_temperature": {
41-
"setpoint": 50,
42-
"resolution": 0.01,
43-
"lower_bound": 25,
44-
"upper_bound": 95
73+
"vendor": "Plugwise",
74+
"zigbee_mac_address": "000D6F000D13CCFD"
75+
},
76+
"29542b2b6a6a4169acecc15c72a599b8": {
77+
"available": true,
78+
"dev_class": "computer_desktop",
79+
"firmware": "2020-11-10T01:00:00+01:00",
80+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
81+
"model": "Plug",
82+
"model_id": "160-01",
83+
"name": "Plug Werkplek",
84+
"sensors": {
85+
"electricity_consumed": 91.3,
86+
"electricity_consumed_interval": 23.0,
87+
"electricity_produced": 0.0,
88+
"electricity_produced_interval": 0.0
4589
},
46-
"available": true
90+
"switches": {
91+
"lock": false,
92+
"relay": true
93+
},
94+
"vendor": "Plugwise",
95+
"zigbee_mac_address": "000D6F000D13CA9A"
4796
},
4897
"67d73d0bd469422db25a618a5fb8eeb0": {
98+
"available": true,
4999
"dev_class": "zz_misc",
50100
"location": "b4f211175e124df59603412bafa77a34",
51101
"model": "Aqara Smart Plug",
102+
"model_id": "lumi.plug.maeu01",
52103
"name": "SmartPlug Floor 0",
53-
"zigbee_mac_address": "54EF4410002C97F2",
54-
"vendor": "LUMI",
55104
"sensors": {
56-
"electricity_consumed_interval": 0
105+
"electricity_consumed_interval": 0.0
57106
},
58107
"switches": {
59-
"relay": true,
60-
"lock": false
61-
},
62-
"available": true
63-
},
64-
"e2f4322d57924fa090fbbc48b3a140dc": {
65-
"dev_class": "zone_thermostat",
66-
"firmware": "2016-10-10T02:00:00+02:00",
67-
"hardware": "255",
68-
"location": "f871b8c4d63549319221e294e4f88074",
69-
"model": "Lisa",
70-
"name": "Lisa Badkamer",
71-
"zigbee_mac_address": "000D6F000C869B61",
72-
"vendor": "Plugwise",
73-
"binary_sensors": {
74-
"low_battery": true
75-
},
76-
"sensors": {
77-
"temperature": 16.5,
78-
"setpoint": 18,
79-
"battery": 14
80-
},
81-
"temperature_offset": {
82-
"lower_bound": -2,
83-
"resolution": 0.1,
84-
"upper_bound": 2,
85-
"setpoint": 0
86-
},
87-
"thermostat": {
88-
"setpoint": 18,
89-
"resolution": 0.01,
90-
"lower_bound": 0,
91-
"upper_bound": 99.9
108+
"lock": false,
109+
"relay": true
92110
},
93-
"available": true,
94-
"control_state": "preheating",
95-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
96-
"active_preset": "home",
97-
"available_schedules": [
98-
"Badkamer",
99-
"Test",
100-
"Vakantie",
101-
"Weekschema",
102-
"off"
103-
],
104-
"select_schedule": "Badkamer",
105-
"mode": "auto"
111+
"vendor": "LUMI",
112+
"zigbee_mac_address": "54EF4410002C97F2"
106113
},
107114
"854f8a9b0e7e425db97f1f110e1ce4b3": {
115+
"available": true,
108116
"dev_class": "central_heating_pump",
109117
"firmware": "2020-11-10T01:00:00+01:00",
110118
"location": "f2bf9048bef64cc5b6d5110154e33c81",
111119
"model": "Plug",
120+
"model_id": "160-01",
112121
"name": "Plug Vloerverwarming",
113-
"zigbee_mac_address": "000D6F000D13CB6F",
114-
"vendor": "Plugwise",
115122
"sensors": {
116123
"electricity_consumed": 43.8,
117-
"electricity_consumed_interval": 0,
118-
"electricity_produced": 0,
119-
"electricity_produced_interval": 0
124+
"electricity_consumed_interval": 0.0,
125+
"electricity_produced": 0.0,
126+
"electricity_produced_interval": 0.0
120127
},
121128
"switches": {
122129
"relay": true
123130
},
124-
"available": true
131+
"vendor": "Plugwise",
132+
"zigbee_mac_address": "000D6F000D13CB6F"
125133
},
126134
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
135+
"active_preset": "home",
136+
"available_schedules": [
137+
"Badkamer",
138+
"Test",
139+
"Vakantie",
140+
"Weekschema",
141+
"off"
142+
],
143+
"control_state": "heating",
127144
"dev_class": "thermostat",
128145
"location": "f2bf9048bef64cc5b6d5110154e33c81",
146+
"mode": "auto",
129147
"model": "ThermoTouch",
148+
"model_id": "143.1",
130149
"name": "Anna",
131-
"vendor": "Plugwise",
150+
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
151+
"select_schedule": "Weekschema",
132152
"sensors": {
133-
"temperature": 18.4,
134-
"setpoint": 18.5
153+
"setpoint": 18.5,
154+
"temperature": 18.4
135155
},
136156
"thermostat": {
137-
"setpoint": 18.5,
157+
"lower_bound": 1.0,
138158
"resolution": 0.01,
139-
"lower_bound": 1,
140-
"upper_bound": 35
159+
"setpoint": 18.5,
160+
"upper_bound": 35.0
141161
},
142-
"control_state": "heating",
143-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
162+
"vendor": "Plugwise"
163+
},
164+
"da224107914542988a88561b4452b0f6": {
165+
"binary_sensors": {
166+
"plugwise_notification": false
167+
},
168+
"dev_class": "gateway",
169+
"firmware": "3.7.8",
170+
"gateway_modes": ["away", "full", "vacation"],
171+
"hardware": "AME Smile 2.0 board",
172+
"location": "bc93488efab249e5bc54fd7e175a6f91",
173+
"mac_address": "012345679891",
174+
"model": "Gateway",
175+
"model_id": "smile_open_therm",
176+
"name": "Adam",
177+
"regulation_modes": ["bleeding_hot", "bleeding_cold", "off", "heating"],
178+
"select_gateway_mode": "full",
179+
"select_regulation_mode": "heating",
180+
"sensors": {
181+
"outdoor_temperature": 9.19
182+
},
183+
"vendor": "Plugwise",
184+
"zigbee_mac_address": "000D6F000D5A168D"
185+
},
186+
"e2f4322d57924fa090fbbc48b3a140dc": {
144187
"active_preset": "home",
188+
"available": true,
145189
"available_schedules": [
146190
"Badkamer",
147191
"Test",
148192
"Vakantie",
149193
"Weekschema",
150194
"off"
151195
],
152-
"select_schedule": "Weekschema",
153-
"mode": "auto"
154-
},
155-
"29542b2b6a6a4169acecc15c72a599b8": {
156-
"dev_class": "computer_desktop",
157-
"firmware": "2020-11-10T01:00:00+01:00",
158-
"location": "f2bf9048bef64cc5b6d5110154e33c81",
159-
"model": "Plug",
160-
"name": "Plug Werkplek",
161-
"zigbee_mac_address": "000D6F000D13CA9A",
162-
"vendor": "Plugwise",
163-
"sensors": {
164-
"electricity_consumed": 91.3,
165-
"electricity_consumed_interval": 23,
166-
"electricity_produced": 0,
167-
"electricity_produced_interval": 0
168-
},
169-
"switches": {
170-
"relay": true,
171-
"lock": false
172-
},
173-
"available": true
174-
},
175-
"1772a4ea304041adb83f357b751341ff": {
176-
"dev_class": "thermo_sensor",
177-
"firmware": "2020-11-04T01:00:00+01:00",
178-
"hardware": "1",
179-
"location": "f871b8c4d63549319221e294e4f88074",
180-
"model": "Tom/Floor",
181-
"name": "Tom Badkamer",
182-
"zigbee_mac_address": "000D6F000C8FF5EE",
183-
"vendor": "Plugwise",
184196
"binary_sensors": {
185-
"low_battery": false
197+
"low_battery": true
186198
},
199+
"control_state": "preheating",
200+
"dev_class": "zone_thermostat",
201+
"firmware": "2016-10-10T02:00:00+02:00",
202+
"hardware": "255",
203+
"location": "f871b8c4d63549319221e294e4f88074",
204+
"mode": "auto",
205+
"model": "Lisa",
206+
"model_id": "158-01",
207+
"name": "Lisa Badkamer",
208+
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
209+
"select_schedule": "Badkamer",
187210
"sensors": {
188-
"temperature": 17.6,
189-
"setpoint": 18,
190-
"battery": 99,
191-
"temperature_difference": -0.2,
192-
"valve_position": 100
211+
"battery": 14,
212+
"setpoint": 18.0,
213+
"temperature": 16.5
193214
},
194215
"temperature_offset": {
195-
"lower_bound": -2,
216+
"lower_bound": -2.0,
196217
"resolution": 0.1,
197-
"upper_bound": 2,
198-
"setpoint": 0.1
199-
},
200-
"available": true
201-
},
202-
"2568cc4b9c1e401495d4741a5f89bee1": {
203-
"dev_class": "hometheater",
204-
"firmware": "2020-11-10T01:00:00+01:00",
205-
"location": "f2bf9048bef64cc5b6d5110154e33c81",
206-
"model": "Plug",
207-
"name": "Plug MediaTV",
208-
"zigbee_mac_address": "000D6F000D13CCFD",
209-
"vendor": "Plugwise",
210-
"sensors": {
211-
"electricity_consumed": 14.8,
212-
"electricity_consumed_interval": 3,
213-
"electricity_produced": 0,
214-
"electricity_produced_interval": 0
218+
"setpoint": 0.0,
219+
"upper_bound": 2.0
215220
},
216-
"switches": {
217-
"relay": true,
218-
"lock": true
221+
"thermostat": {
222+
"lower_bound": 0.0,
223+
"resolution": 0.01,
224+
"setpoint": 18.0,
225+
"upper_bound": 99.9
219226
},
220-
"available": true
227+
"vendor": "Plugwise",
228+
"zigbee_mac_address": "000D6F000C869B61"
221229
},
222230
"e8ef2a01ed3b4139a53bf749204fe6b4": {
223231
"dev_class": "switching",
224-
"model": "Switchgroup",
225-
"name": "Test",
226232
"members": [
227233
"2568cc4b9c1e401495d4741a5f89bee1",
228234
"29542b2b6a6a4169acecc15c72a599b8"
229235
],
236+
"model": "Switchgroup",
237+
"name": "Test",
230238
"switches": {
231239
"relay": true
232240
}

0 commit comments

Comments
 (0)