Skip to content

Commit

Permalink
Add support for Bosch QR-codes for zha.permit
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
  • Loading branch information
promasu committed Oct 21, 2023
1 parent a8f0a66 commit 3a753de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions homeassistant/components/zha/core/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,15 @@ def convert_install_code(value: str) -> bytes:
([0-9a-fA-F]{36}) # install code
$
""",
# Bosch
r"""
^RB01SG
[0-9a-fA-F]{34}
([0-9a-fA-F]{16}) # IEEE address
DLK
([0-9a-fA-F]{36}) # install code
$
""",
)


Expand Down

0 comments on commit 3a753de

Please sign in to comment.