mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
10_CUL_HM:prevent early definition of ActionDetector
git-svn-id: https://svn.fhem.de/fhem/trunk@19889 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3f6cdf9851
commit
ce378b687e
@ -547,7 +547,6 @@ sub CUL_HM_updateConfig($){##########################
|
|||||||
CUL_HM_complConfig($name);
|
CUL_HM_complConfig($name);
|
||||||
}
|
}
|
||||||
delete $modules{CUL_HM}{helper}{updtCfgLst};
|
delete $modules{CUL_HM}{helper}{updtCfgLst};
|
||||||
|
|
||||||
}
|
}
|
||||||
sub CUL_HM_Define($$) {##############################
|
sub CUL_HM_Define($$) {##############################
|
||||||
my ($hash, $def) = @_;
|
my ($hash, $def) = @_;
|
||||||
@ -9163,7 +9162,7 @@ sub CUL_HM_dimLog($) {# dimmer readings - support virtual chan - unused so far
|
|||||||
# that period.
|
# that period.
|
||||||
# ActionDetector will use the fixed HMid 000000
|
# ActionDetector will use the fixed HMid 000000
|
||||||
sub CUL_HM_ActGetCreateHash() {# get ActionDetector - create if necessary
|
sub CUL_HM_ActGetCreateHash() {# get ActionDetector - create if necessary
|
||||||
if (!$modules{CUL_HM}{defptr}{"000000"}){
|
if (!$modules{CUL_HM}{defptr}{"000000"} && $init_done){
|
||||||
CommandDefine(undef,"ActionDetector CUL_HM 000000");
|
CommandDefine(undef,"ActionDetector CUL_HM 000000");
|
||||||
$attr{ActionDetector}{actCycle} = 600;
|
$attr{ActionDetector}{actCycle} = 600;
|
||||||
$attr{ActionDetector}{"event-on-change-reading"} = ".*";
|
$attr{ActionDetector}{"event-on-change-reading"} = ".*";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user