diff --git a/FHEM/10_UNIRoll.pm b/FHEM/10_UNIRoll.pm index 58453e51d..a71364e27 100644 --- a/FHEM/10_UNIRoll.pm +++ b/FHEM/10_UNIRoll.pm @@ -129,7 +129,7 @@ UNIRoll_Set($@) # CUL-Kommandos ermitteln und Sendestrings anpassen my $culcmds = $hash->{IODev}->{CMDS}; # BCFiAZEGMKURTVWXefmltux - if($culcmds !~ m/U/) { + if($culcmds && $culcmds !~ m/U/) { $rawpre = $rawpre_old; $rawpost = $rawpost_old; }