Skip to content

Commit 7928d05

Browse files
committed
Update NodeAddRequest docstring, remove double _reply_identifiers
1 parent 6485441 commit 7928d05

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

plugwise_usb/messages/requests.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,10 @@ class NodeAddRequest(PlugwiseRequestWithStickResponse):
428428
"""Add node to the Plugwise Network and add it to memory of Circle+ node.
429429
430430
Supported protocols : 1.0, 2.0
431-
Response message : TODO check if response is NodeAckResponse
431+
Response message : (@bouwew) b"0000" - StickResponse is returned
432432
"""
433433

434434
_identifier = b"0007"
435-
_reply_identifier = b"0000" #"0005"
436435

437436
def __init__(
438437
self,
@@ -468,7 +467,6 @@ class CirclePlusAllowJoiningRequest(PlugwiseRequest):
468467
"""
469468

470469
_identifier = b"0008"
471-
_reply_identifier = b"0000"
472470

473471
def __init__(
474472
self,
@@ -757,7 +755,6 @@ class CircleClockSetRequest(PlugwiseRequest):
757755
"""
758756

759757
_identifier = b"0016"
760-
_reply_identifier = b"0000"
761758

762759
# pylint: disable=too-many-arguments
763760
def __init__(
@@ -812,7 +809,6 @@ class CircleRelaySwitchRequest(PlugwiseRequest):
812809
"""
813810

814811
_identifier = b"0017"
815-
_reply_identifier = b"0000"
816812

817813
def __init__(
818814
self,
@@ -978,7 +974,6 @@ class CirclePlusRealTimeClockSetRequest(PlugwiseRequest):
978974
"""
979975

980976
_identifier = b"0028"
981-
_reply_identifier = b"0000"
982977

983978
def __init__(
984979
self,
@@ -1068,7 +1063,6 @@ class CircleActivateScheduleRequest(PlugwiseRequest):
10681063
"""
10691064

10701065
_identifier = b"0040"
1071-
_reply_identifier = b"0000"
10721066

10731067
def __init__(
10741068
self,
@@ -1091,7 +1085,6 @@ class NodeAddToGroupRequest(PlugwiseRequest):
10911085
"""
10921086

10931087
_identifier = b"0045"
1094-
_reply_identifier = b"0000"
10951088

10961089
# pylint: disable=too-many-arguments
10971090
def __init__(
@@ -1128,7 +1121,6 @@ class NodeRemoveFromGroupRequest(PlugwiseRequest):
11281121
"""
11291122

11301123
_identifier = b"0046"
1131-
_reply_identifier = b"0000"
11321124

11331125
def __init__(
11341126
self,
@@ -1149,7 +1141,6 @@ class NodeBroadcastGroupSwitchRequest(PlugwiseRequest):
11491141
"""
11501142

11511143
_identifier = b"0047"
1152-
_reply_identifier = b"0000"
11531144

11541145
def __init__(
11551146
self,
@@ -1209,7 +1200,6 @@ class CircleHandlesOffRequest(PlugwiseRequest):
12091200
"""
12101201

12111202
_identifier = b"004D"
1212-
_reply_identifier = b"0000"
12131203

12141204

12151205
class CircleHandlesOnRequest(PlugwiseRequest):
@@ -1219,7 +1209,6 @@ class CircleHandlesOnRequest(PlugwiseRequest):
12191209
"""
12201210

12211211
_identifier = b"004E"
1222-
_reply_identifier = b"0000"
12231212

12241213

12251214
class NodeSleepConfigRequest(PlugwiseRequest):
@@ -1240,7 +1229,6 @@ class NodeSleepConfigRequest(PlugwiseRequest):
12401229
"""
12411230

12421231
_identifier = b"0050"
1243-
_reply_identifier = b"0000"
12441232

12451233
# pylint: disable=too-many-arguments
12461234
def __init__(
@@ -1298,7 +1286,6 @@ class NodeSelfRemoveRequest(PlugwiseRequest):
12981286
"""
12991287

13001288
_identifier = b"0051"
1301-
_reply_identifier = b"0000"
13021289

13031290

13041291
class CircleMeasureIntervalRequest(PlugwiseRequest):
@@ -1310,7 +1297,6 @@ class CircleMeasureIntervalRequest(PlugwiseRequest):
13101297
"""
13111298

13121299
_identifier = b"0057"
1313-
_reply_identifier = b"0000"
13141300

13151301
def __init__(
13161302
self,
@@ -1332,7 +1318,6 @@ class NodeClearGroupMacRequest(PlugwiseRequest):
13321318
"""
13331319

13341320
_identifier = b"0058"
1335-
_reply_identifier = b"0000"
13361321

13371322
def __init__(
13381323
self,
@@ -1352,7 +1337,6 @@ class CircleSetScheduleValueRequest(PlugwiseRequest):
13521337
"""
13531338

13541339
_identifier = b"0059"
1355-
_reply_identifier = b"0000"
13561340

13571341
def __init__(
13581342
self,

0 commit comments

Comments
 (0)