Skip to content

Commit e897ed8

Browse files
committed
missed constant
1 parent 31c8ade commit e897ed8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zha/websocket/server/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
MODEL_CLASS_NAME,
2020
SUCCESS,
2121
WEBSOCKET_API,
22+
ZIGBEE_ERROR,
2223
ZIGBEE_ERROR_CODE,
2324
APICommands,
2425
EventTypes,
@@ -115,7 +116,7 @@ def send_result_zigbee_error(
115116
"""Send zigbee error result prompted by a client zigbee request."""
116117
self.send_result_error(
117118
command,
118-
error_code="zigbee_error",
119+
error_code=ZIGBEE_ERROR,
119120
error_message=error_message,
120121
data={ZIGBEE_ERROR_CODE: zigbee_error_code},
121122
)

0 commit comments

Comments
 (0)