Skip to content

Commit 3012703

Browse files
authored
Merge pull request #944 from plugwise/pw-1.8.2
More Emma related updates
2 parents 7739464 + 6cc3098 commit 3012703

File tree

9 files changed

+272
-117
lines changed

9 files changed

+272
-117
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Versions from 0.40 and up
44

5+
## Ongoing
6+
7+
- More Emma-related updates via plugwise [v1.8.2](https://github.com/plugwise/python-plugwise/releases/tag/v1.8.2)
8+
59
## v0.58.1
610

711
- Improve detection of removed device(s) via plugwise [v1.8.1](https://github.com/plugwise/python-plugwise/releases/tag/v1.8.1)

custom_components/plugwise/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"integration_type": "hub",
88
"iot_class": "local_polling",
99
"loggers": ["plugwise"],
10-
"requirements": ["plugwise==1.8.1"],
10+
"requirements": ["plugwise==1.8.2"],
1111
"version": "0.58.1",
1212
"zeroconf": ["_plugwise._tcp.local."]
1313
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "plugwise-beta"
3-
version = "0.58.1"
3+
version = "0.58.2"
44
description = "Plugwise beta custom-component"
55
readme = "README.md"
66
requires-python = ">=3.13"

tests/components/plugwise/fixtures/adam_plus_anna_new/data.json

Lines changed: 97 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"model": "Generic heater",
1818
"name": "OpenTherm",
1919
"sensors": {
20-
"intended_boiler_temperature": 23.9,
21-
"water_temperature": 30.0
20+
"intended_boiler_temperature": 22.5,
21+
"water_temperature": 43.0
2222
},
2323
"switches": {
2424
"dhw_cm_switch": false
@@ -36,6 +36,32 @@
3636
"vendor": "_TZ3000_abjodzas",
3737
"zigbee_mac_address": "A4C13862AF9917B1"
3838
},
39+
"14df5c4dc8cb4ba69f9d1ac0eaf7c5c6": {
40+
"available": true,
41+
"binary_sensors": {
42+
"low_battery": false
43+
},
44+
"dev_class": "zone_thermostat",
45+
"hardware": "1",
46+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
47+
"model": "Emma Pro",
48+
"model_id": "170-01",
49+
"name": "Emma",
50+
"sensors": {
51+
"battery": 100,
52+
"humidity": 65.0,
53+
"setpoint": 20.5,
54+
"temperature": 19.7
55+
},
56+
"temperature_offset": {
57+
"lower_bound": -2.0,
58+
"resolution": 0.1,
59+
"setpoint": 0.0,
60+
"upper_bound": 2.0
61+
},
62+
"vendor": "Plugwise",
63+
"zigbee_mac_address": "60EFABFFFE89CBA0"
64+
},
3965
"1772a4ea304041adb83f357b751341ff": {
4066
"available": true,
4167
"binary_sensors": {
@@ -49,11 +75,11 @@
4975
"model_id": "106-03",
5076
"name": "Tom Badkamer",
5177
"sensors": {
52-
"battery": 99,
53-
"setpoint": 18.0,
54-
"temperature": 17.6,
55-
"temperature_difference": -0.2,
56-
"valve_position": 100
78+
"battery": 60,
79+
"setpoint": 20.0,
80+
"temperature": 19.0,
81+
"temperature_difference": -0.4,
82+
"valve_position": 100.0
5783
},
5884
"temperature_offset": {
5985
"lower_bound": -2.0,
@@ -62,7 +88,7 @@
6288
"upper_bound": 2.0
6389
},
6490
"vendor": "Plugwise",
65-
"zigbee_mac_address": "000D6F000C8FF5EE"
91+
"zigbee_mac_address": "000D6F000C8FCBA0"
6692
},
6793
"2568cc4b9c1e401495d4741a5f89bee1": {
6894
"available": true,
@@ -73,8 +99,8 @@
7399
"model_id": "160-01",
74100
"name": "Plug MediaTV",
75101
"sensors": {
76-
"electricity_consumed": 14.8,
77-
"electricity_consumed_interval": 3.0,
102+
"electricity_consumed": 15.8,
103+
"electricity_consumed_interval": 4.0,
78104
"electricity_produced": 0.0,
79105
"electricity_produced_interval": 0.0
80106
},
@@ -83,19 +109,19 @@
83109
"relay": true
84110
},
85111
"vendor": "Plugwise",
86-
"zigbee_mac_address": "000D6F000D13CCFD"
112+
"zigbee_mac_address": "000D6F000D13CBA1"
87113
},
88114
"29542b2b6a6a4169acecc15c72a599b8": {
89115
"available": true,
90-
"dev_class": "computer_desktop_plug",
116+
"dev_class": "water_heater_vessel_plug",
91117
"firmware": "2020-11-10T01:00:00+01:00",
92-
"location": "f2bf9048bef64cc5b6d5110154e33c81",
118+
"location": "8201a2ac4d1b4303bf994e18d67311eb",
93119
"model": "Plug",
94120
"model_id": "160-01",
95-
"name": "Plug Werkplek",
121+
"name": "Plug Thermex Boiler",
96122
"sensors": {
97-
"electricity_consumed": 91.3,
98-
"electricity_consumed_interval": 23.0,
123+
"electricity_consumed": 0.69,
124+
"electricity_consumed_interval": 0.0,
99125
"electricity_produced": 0.0,
100126
"electricity_produced_interval": 0.0
101127
},
@@ -104,7 +130,7 @@
104130
"relay": true
105131
},
106132
"vendor": "Plugwise",
107-
"zigbee_mac_address": "000D6F000D13CA9A"
133+
"zigbee_mac_address": "000D6F000D13CBA2"
108134
},
109135
"67d73d0bd469422db25a618a5fb8eeb0": {
110136
"available": true,
@@ -132,16 +158,16 @@
132158
"model_id": "160-01",
133159
"name": "Plug Vloerverwarming",
134160
"sensors": {
135-
"electricity_consumed": 43.8,
136-
"electricity_consumed_interval": 0.0,
161+
"electricity_consumed": 45.0,
162+
"electricity_consumed_interval": 12.0,
137163
"electricity_produced": 0.0,
138164
"electricity_produced_interval": 0.0
139165
},
140166
"switches": {
141167
"relay": true
142168
},
143169
"vendor": "Plugwise",
144-
"zigbee_mac_address": "000D6F000D13CB6F"
170+
"zigbee_mac_address": "000D6F000D13CBA0"
145171
},
146172
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
147173
"dev_class": "thermostat",
@@ -150,8 +176,8 @@
150176
"model_id": "143.1",
151177
"name": "Anna",
152178
"sensors": {
153-
"setpoint": 18.5,
154-
"temperature": 18.4
179+
"setpoint": 20.5,
180+
"temperature": 20.1
155181
},
156182
"vendor": "Plugwise"
157183
},
@@ -160,28 +186,49 @@
160186
"plugwise_notification": false
161187
},
162188
"dev_class": "gateway",
163-
"firmware": "3.7.8",
189+
"firmware": "3.9.0",
164190
"gateway_modes": ["away", "full", "vacation"],
165191
"hardware": "AME Smile 2.0 board",
166192
"location": "bc93488efab249e5bc54fd7e175a6f91",
167-
"mac_address": "012345679891",
193+
"mac_address": "D40FB201CBA0",
168194
"model": "Gateway",
169195
"model_id": "smile_open_therm",
170196
"name": "Adam",
171197
"notifications": {},
172-
"regulation_modes": ["bleeding_hot", "bleeding_cold", "off", "heating"],
198+
"regulation_modes": ["bleeding_cold", "heating", "off", "bleeding_hot"],
173199
"select_gateway_mode": "full",
174200
"select_regulation_mode": "heating",
175201
"sensors": {
176-
"outdoor_temperature": 9.19
202+
"outdoor_temperature": 15.1
203+
},
204+
"vendor": "Plugwise",
205+
"zigbee_mac_address": "000D6F000D5ACBA0"
206+
},
207+
"da575e9e09b947e281fb6e3ebce3b174": {
208+
"available": true,
209+
"binary_sensors": {
210+
"low_battery": false
211+
},
212+
"dev_class": "zone_thermometer",
213+
"firmware": "2020-09-01T02:00:00+02:00",
214+
"hardware": "1",
215+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
216+
"model": "Jip",
217+
"model_id": "168-01",
218+
"name": "Jip",
219+
"sensors": {
220+
"battery": 100,
221+
"humidity": 65.8,
222+
"setpoint": 20.5,
223+
"temperature": 20.4
177224
},
178225
"vendor": "Plugwise",
179-
"zigbee_mac_address": "000D6F000D5A168D"
226+
"zigbee_mac_address": "70AC08FFFEE1CBA0"
180227
},
181228
"e2f4322d57924fa090fbbc48b3a140dc": {
182229
"available": true,
183230
"binary_sensors": {
184-
"low_battery": true
231+
"low_battery": false
185232
},
186233
"dev_class": "zone_thermostat",
187234
"firmware": "2016-10-10T02:00:00+02:00",
@@ -191,9 +238,9 @@
191238
"model_id": "158-01",
192239
"name": "Lisa Badkamer",
193240
"sensors": {
194-
"battery": 14,
195-
"setpoint": 18.0,
196-
"temperature": 16.5
241+
"battery": 71,
242+
"setpoint": 20.0,
243+
"temperature": 18.7
197244
},
198245
"temperature_offset": {
199246
"lower_bound": -2.0,
@@ -202,7 +249,7 @@
202249
"upper_bound": 2.0
203250
},
204251
"vendor": "Plugwise",
205-
"zigbee_mac_address": "000D6F000C869B61"
252+
"zigbee_mac_address": "000D6F000C86CBA0"
206253
},
207254
"e8ef2a01ed3b4139a53bf749204fe6b4": {
208255
"dev_class": "switching",
@@ -221,60 +268,64 @@
221268
"active_preset": "home",
222269
"available_schedules": [
223270
"Badkamer",
224-
"Test",
225271
"Vakantie",
226272
"Weekschema",
273+
"Test",
227274
"off"
228275
],
229276
"climate_mode": "auto",
230277
"control_state": "heating",
231278
"dev_class": "climate",
232279
"model": "ThermoZone",
233280
"name": "Living room",
234-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
281+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
235282
"select_schedule": "Weekschema",
236283
"sensors": {
237-
"electricity_consumed": 149.9,
284+
"electricity_consumed": 60.8,
238285
"electricity_produced": 0.0,
239-
"temperature": 18.4
286+
"temperature": 19.7
240287
},
241288
"thermostat": {
242289
"lower_bound": 1.0,
243290
"resolution": 0.01,
244-
"setpoint": 18.5,
291+
"setpoint": 20.5,
245292
"upper_bound": 35.0
246293
},
247294
"thermostats": {
248-
"primary": ["ad4838d7d35c4d6ea796ee12ae5aedf8"],
295+
"primary": [
296+
"ad4838d7d35c4d6ea796ee12ae5aedf8",
297+
"14df5c4dc8cb4ba69f9d1ac0eaf7c5c6",
298+
"da575e9e09b947e281fb6e3ebce3b174"
299+
],
249300
"secondary": []
250301
},
251302
"vendor": "Plugwise"
252303
},
253304
"f871b8c4d63549319221e294e4f88074": {
254-
"active_preset": "home",
305+
"active_preset": "vacation",
255306
"available_schedules": [
256307
"Badkamer",
257-
"Test",
258308
"Vakantie",
259309
"Weekschema",
310+
"Test",
260311
"off"
261312
],
262-
"climate_mode": "auto",
263-
"control_state": "preheating",
313+
"climate_mode": "heat",
314+
"control_state": "idle",
264315
"dev_class": "climate",
265316
"model": "ThermoZone",
266317
"name": "Bathroom",
267-
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
268-
"select_schedule": "Badkamer",
318+
"preset_modes": ["vacation", "no_frost", "asleep", "home", "away"],
319+
"select_schedule": "off",
269320
"sensors": {
270321
"electricity_consumed": 0.0,
271322
"electricity_produced": 0.0,
272-
"temperature": 16.5
323+
"temperature": 18.7
273324
},
274325
"thermostat": {
275326
"lower_bound": 0.0,
276327
"resolution": 0.01,
277-
"setpoint": 18.0,
328+
"setpoint": 20.0,
278329
"upper_bound": 99.9
279330
},
280331
"thermostats": {

0 commit comments

Comments
 (0)