From acd612d49f1d1cf2879b230cd4ae4c5a964d22bb Mon Sep 17 00:00:00 2001 From: Mike Gray Date: Mon, 5 Feb 2024 21:56:13 -0600 Subject: [PATCH] fix: regex for set dimmer command similar to https://github.com/openhab/openhab-mycroft/pull/98 --- locale/en-us/regex/dimmer_command.rx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en-us/regex/dimmer_command.rx b/locale/en-us/regex/dimmer_command.rx index c94f266..2443a61 100644 --- a/locale/en-us/regex/dimmer_command.rx +++ b/locale/en-us/regex/dimmer_command.rx @@ -1,2 +1,2 @@ -(set) (?P.*)(?: to )?(?P\d+)(?: percent)? +(set) (?P.*?)(?: to )?(?P\d*)?(?: percent)?$ (dim|bright) (?P.*?)(?: by )?(?P\d*)?(?: percent)?$