From 0fab2384b034b37c22badb02493e4c3e4da458de Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 21 Apr 2021 10:08:28 +0300 Subject: [PATCH] fix patt --- custom_components/mega/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mega/const.py b/custom_components/mega/const.py index 3517bf2..49940f6 100644 --- a/custom_components/mega/const.py +++ b/custom_components/mega/const.py @@ -64,7 +64,7 @@ LUX = 'lux' SINGLE_CLICK = 'single' DOUBLE_CLICK = 'double' -PATT_FW = re.compile(r'fw:\s(.+)\)') +PATT_FW = re.compile(r'fw:\s(.+?)\)') REMOVE_CONFIG = [ 'extenders',