Skip to content

Commit 76b50cd

Browse files
committed
Update NodeResponseType list
1 parent 826d315 commit 76b50cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise_usb/messages/responses.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ class StickResponseType(bytes, Enum):
5656
class NodeResponseType(bytes, Enum):
5757
"""Response types of a 'NodeResponse' reply message."""
5858

59-
CIRCLE_PLUS = b"00DD" # type for CirclePlusAllowJoiningRequest with state false
59+
CIRCLE_PLUS = b"00DD" # ack for CirclePlusAllowJoiningRequest with state false
6060
CLOCK_ACCEPTED = b"00D7"
61-
JOIN_ACCEPTED = b"00D9" # type for CirclePlusAllowJoiningRequest with state true
61+
JOIN_ACCEPTED = b"00D9" # ack for CirclePlusAllowJoiningRequest with state true
62+
POWER_LOG_INTERVAL_ACCEPTED = b"00F8" # ack for CircleMeasureIntervalRequest
6263
RELAY_SWITCHED_OFF = b"00DE"
6364
RELAY_SWITCHED_ON = b"00D8"
6465
RELAY_SWITCH_FAILED = b"00E2"
@@ -68,7 +69,6 @@ class NodeResponseType(bytes, Enum):
6869

6970
# TODO: Validate these response types
7071
SED_CONFIG_FAILED = b"00F7"
71-
POWER_LOG_INTERVAL_ACCEPTED = b"00F8"
7272
POWER_CALIBRATION_ACCEPTED = b"00DA"
7373

7474

0 commit comments

Comments
 (0)