2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

76_Solarforcast: contrib 0.62.0

git-svn-id: https://svn.fhem.de/fhem/trunk@26053 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-05-17 15:25:54 +00:00
parent 13c554496d
commit f2bae6b432

View File

@ -7255,7 +7255,7 @@ sub isAddSwitchOffCond {
my $swoffcondregex = ConsumerVal ($hash, $c, "swoffcondregex", ""); # Regex einer vorrangigen Ausschaltbedingung
my $condstate = ReadingsVal ($dswoffcond, $rswoffcond, "");
if ($condstate =~ m/^$swoffcondregex$/x) {
if ($condstate && $condstate =~ m/^$swoffcondregex$/x) {
return (1, $info, $err);
}