Skip to content

Commit 44ee74e

Browse files
authored
Merge pull request #424 from plugwise/count
Add device-items count to output
2 parents afffc9a + 96f0684 commit 44ee74e

File tree

44 files changed

+167
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+167
-86
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Ongoing
4+
5+
- Add item-count to output
6+
37
## v0.33.1 Bugfix for Adam
48

59
- Adam: remove use of control_state, xml-key no longer present.

fixtures/adam_heatpump_cooling/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
"cooling_present": true,
601601
"gateway_id": "7d97fc3117784cfdafe347bcedcbbbcb",
602602
"heater_id": "0ca13e8176204ca7bf6f09de59f81c83",
603+
"item_count": 433,
603604
"notifications": {},
604605
"smile_name": "Adam"
605606
}

fixtures/adam_jip/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@
304304
"cooling_present": false,
305305
"gateway_id": "b5c2386c6f6342669e50fe49dd05b188",
306306
"heater_id": "e4684553153b44afbef2200885f379dc",
307+
"item_count": 219,
307308
"notifications": {},
308309
"smile_name": "Adam"
309310
}

fixtures/adam_multiple_devices_per_zone/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@
473473
"cooling_present": false,
474474
"gateway_id": "fe799307f1624099878210aa0b9f1475",
475475
"heater_id": "90986d591dcd426cae3ec3e8111ff730",
476+
"item_count": 320,
476477
"notifications": {
477478
"af82e4ccf9c548528166d38e560662a4": {
478479
"warning": "Node Plug (with MAC address 000D6F000D13CB01, in room 'n.a.') has been unreachable since 23:03 2020-01-18. Please check the connection and restart the device."

fixtures/adam_onoff_cooling_fake_firmware/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"cooling_present": true,
9292
"gateway_id": "7d97fc3117784cfdafe347bcedcbbbcb",
9393
"heater_id": "0ca13e8176204ca7bf6f09de59f81c83",
94+
"item_count": 56,
9495
"notifications": {},
9596
"smile_name": "Adam"
9697
}

fixtures/adam_plus_anna/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"cooling_present": false,
111111
"gateway_id": "b128b4bbbd1f47e9bf4d756e8fb5ee94",
112112
"heater_id": "2743216f626f43948deec1f7ab3b3d70",
113+
"item_count": 71,
113114
"notifications": {
114115
"6fb89e35caeb4b1cb275184895202d84": {
115116
"error": "There is no OpenTherm communication with the boiler."

fixtures/adam_plus_anna_copy_with_error_domain_added/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"cooling_present": false,
109109
"gateway_id": "b128b4bbbd1f47e9bf4d756e8fb5ee94",
110110
"heater_id": "2743216f626f43948deec1f7ab3b3d70",
111+
"item_count": 71,
111112
"notifications": {
112113
"3d28a20e17cb47dca210a132463721d5": {
113114
"error": "ZigBee Stick 000D6F000D5A3184 has been unreachable since 05:36 2020-06-18. Please check if the ZigBee Stick is still inserted in the Gateway USB port and restart Gateway by powering it down for a few seconds."

fixtures/adam_plus_anna_new/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
"cooling_present": false,
218218
"gateway_id": "da224107914542988a88561b4452b0f6",
219219
"heater_id": "056ee145a816487eaa69243c3280f8bf",
220+
"item_count": 145,
220221
"notifications": {},
221222
"smile_name": "Adam"
222223
}

fixtures/adam_zone_per_device/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@
473473
"cooling_present": false,
474474
"gateway_id": "fe799307f1624099878210aa0b9f1475",
475475
"heater_id": "90986d591dcd426cae3ec3e8111ff730",
476+
"item_count": 320,
476477
"notifications": {
477478
"af82e4ccf9c548528166d38e560662a4": {
478479
"warning": "Node Plug (with MAC address 000D6F000D13CB01, in room 'n.a.') has been unreachable since 23:03 2020-01-18. Please check the connection and restart the device."

fixtures/anna_elga_2/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"cooling_present": false,
9090
"gateway_id": "fb49af122f6e4b0f91267e1cf7666d6f",
9191
"heater_id": "573c152e7d4f4720878222bd75638f5b",
92+
"item_count": 60,
9293
"notifications": {},
9394
"smile_name": "Smile Anna"
9495
}

0 commit comments

Comments
 (0)