mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
PROPLANTA: state msg
git-svn-id: https://svn.fhem.de/fhem/trunk@9478 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
42bda594a1
commit
2509c345a5
@ -573,6 +573,8 @@ sub PROPLANTA_Start($)
|
|||||||
|
|
||||||
$hash->{INTERVAL} = AttrVal( $name, "INTERVAL", $hash->{INTERVAL} );
|
$hash->{INTERVAL} = AttrVal( $name, "INTERVAL", $hash->{INTERVAL} );
|
||||||
|
|
||||||
|
readingsSingleUpdate($hash, "state", "disabled", 1) if AttrVal($name, "disable", 0 ) == 1;
|
||||||
|
|
||||||
if($hash->{INTERVAL} > 0) {
|
if($hash->{INTERVAL} > 0) {
|
||||||
# reset timer if interval is defined
|
# reset timer if interval is defined
|
||||||
RemoveInternalTimer( $hash );
|
RemoveInternalTimer( $hash );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user