mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
CUL_HM:correct implementation of Actiondetector at restart
git-svn-id: https://svn.fhem.de/fhem/trunk@22226 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f92dbe565a
commit
54cc86316e
@ -698,7 +698,6 @@ sub CUL_HM_Attr(@) {#################################
|
||||
my $chk = ($cmd eq "set") ? CUL_HM_AttrCheck($name, $attrName) : "";
|
||||
my $hash = CUL_HM_name2Hash($name);
|
||||
return $chk if ($chk);
|
||||
|
||||
my $updtReq = 0;
|
||||
if ($attrName eq "expert"){#[0,1,2]
|
||||
$attr{$name}{$attrName} = $attrVal;
|
||||
@ -6841,7 +6840,8 @@ sub CUL_HM_updtDeviceModel($$) {#change the model for a device - obey overwrite
|
||||
CommandDelete(undef,CUL_HM_id2Name($_));
|
||||
Log3 $name,3,"CUL_HM_update: $name delete channel name: $_";
|
||||
}
|
||||
CUL_HM_ActAdd($hash->{DEF},AttrVal($name,"actCycle", $culHmModel->{$mId}{cyc}))if ($culHmModel->{$mId}{cyc});
|
||||
my $CycTime = AttrVal($name,"actCycle", $culHmModel->{$mId}{cyc});
|
||||
CUL_HM_ActAdd($hash->{DEF},$CycTime)if ($CycTime);
|
||||
CUL_HM_queueUpdtCfg($name);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user