From e8146e5565dd82e14d05af474b361fff1ed70812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Sat, 21 Oct 2023 21:03:24 +0200 Subject: [PATCH] Add support for Bosch QR-codes for zha.permit (#102427) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- homeassistant/components/zha/core/helpers.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homeassistant/components/zha/core/helpers.py b/homeassistant/components/zha/core/helpers.py index cb9fadad00b..0246c1e4b1c 100644 --- a/homeassistant/components/zha/core/helpers.py +++ b/homeassistant/components/zha/core/helpers.py @@ -397,6 +397,15 @@ QR_CODES = ( ([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 + $ + """, )