From 79d369b9f53d53d6f4e435ee53e7e434fc4f75ad Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 2 Jan 2022 07:55:00 +0100 Subject: [PATCH] little bugfix --- controls_AutoShuttersControl.txt | 2 +- lib/FHEM/Automation/ShuttersControl.pm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/controls_AutoShuttersControl.txt b/controls_AutoShuttersControl.txt index dc61363..1eccf1b 100644 --- a/controls_AutoShuttersControl.txt +++ b/controls_AutoShuttersControl.txt @@ -1,5 +1,5 @@ UPD 2022-01-01_20:15:38 115601 FHEM/73_AutoShuttersControl.pm -UPD 2022-01-02_07:48:22 75806 lib/FHEM/Automation/ShuttersControl.pm +UPD 2022-01-02_07:52:37 75828 lib/FHEM/Automation/ShuttersControl.pm UPD 2022-01-02_06:39:39 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm UPD 2022-01-02_06:34:39 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm UPD 2022-01-02_07:04:24 32028 lib/FHEM/Automation/ShuttersControl/Shutters.pm diff --git a/lib/FHEM/Automation/ShuttersControl.pm b/lib/FHEM/Automation/ShuttersControl.pm index 432c7e2..3fe509c 100644 --- a/lib/FHEM/Automation/ShuttersControl.pm +++ b/lib/FHEM/Automation/ShuttersControl.pm @@ -518,6 +518,8 @@ sub Set { my $cmd = shift @$aArg // return qq{"set $name" needs at least one argument}; + $cmd = lc($cmd); + given ($cmd) { when ('renewalltimer') { return "usage: $cmd" if ( scalar( @{$aArg} ) != 0 );