mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_freezemon.pm: Fixed warnings on startup
git-svn-id: https://svn.fhem.de/fhem/trunk@18200 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9776c031d1
commit
20da14c3c0
@ -324,7 +324,7 @@ sub freezemon_ProcessTimer($) {
|
||||
}
|
||||
|
||||
# prioQueues are not unique, so we are using the old way...
|
||||
if ( $hash->{helper}{apptime} && $hash->{helper}{apptime} ne "" ) {
|
||||
if ( exists ($hash->{helper}{apptime}) && $hash->{helper}{apptime} ne "" ) {
|
||||
my @olddev = split( " ", $hash->{helper}{apptime} );
|
||||
my @newdev = split( " ", freezemon_apptime($hash) );
|
||||
|
||||
@ -710,6 +710,9 @@ sub freezemon_Attr($) {
|
||||
if ( $aVal ne 0 ) {
|
||||
freezemon_install_callFn_wrapper($hash);
|
||||
$fmFnLog = $aVal;
|
||||
$fmName = $name;
|
||||
$fmFnLog = AttrVal( $name, "fm_CatchFnCalls", 0 );
|
||||
|
||||
}
|
||||
elsif ( defined ($hash->{helper}{mycallFn} ) ) {
|
||||
Log3( "", 0, "[Freezemon] $name: Unwrapping CallFn" );
|
||||
@ -726,7 +729,9 @@ sub freezemon_Attr($) {
|
||||
if ( $aVal ne 0 ) {
|
||||
freezemon_install_analyzeCommand_wrapper($hash);
|
||||
$fmCmdLog = $aVal;
|
||||
}
|
||||
$fmName = $name;
|
||||
$fmCmdLog = AttrVal( $name, "fm_CatchCmds", 0 );
|
||||
}
|
||||
elsif ( defined ( $hash->{helper}{analyzeCommand} ) ) {
|
||||
Log3( "", 0, "[Freezemon] $name: Unwrapping analyzeCommand" );
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user