mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_RandomTimer: bugfix for attr disable
git-svn-id: https://svn.fhem.de/fhem/trunk@25373 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9197fe929a
commit
2da36edbb6
@ -454,7 +454,7 @@ sub isAktive {
|
||||
sub isDisabled {
|
||||
my $hash = shift // return;
|
||||
|
||||
return if IsDisabled( $hash->{NAME} );
|
||||
return 1 if IsDisabled( $hash->{NAME} );
|
||||
my $disableCond = AttrVal( $hash->{NAME}, 'disableCond', undef) // return 0;
|
||||
|
||||
return AnalyzePerlCommand( $hash, $disableCond );
|
||||
|
Loading…
x
Reference in New Issue
Block a user