mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
change: STATE wird nicht mehr unnoetig ueberschrieben
git-svn-id: https://svn.fhem.de/fhem/trunk@12951 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d3ac8faaef
commit
3a76307f67
@ -867,7 +867,7 @@ SYSMON_Update($;$)
|
||||
if( AttrVal($name, "disable", "") eq "1" )
|
||||
{
|
||||
#SYSMON_Log($hash, 5, "disabled");
|
||||
$hash->{STATE} = "Inactive";
|
||||
#$hash->{STATE} = "Inactive";
|
||||
} else {
|
||||
# Beim ersten mal alles aktualisieren!
|
||||
if(!$hash->{helper}{u_first_mark}) {
|
||||
@ -889,7 +889,7 @@ SYSMON_Update($;$)
|
||||
}
|
||||
|
||||
SYSMON_updateReadings($hash,$map);
|
||||
$hash->{STATE} = "Active";
|
||||
#$hash->{STATE} = "Active";
|
||||
} else {
|
||||
# blocking call
|
||||
if ( exists( $hash->{helper}{READOUT_RUNNING_PID} ) ) {
|
||||
@ -1048,7 +1048,7 @@ sub SYSMON_blockingFinish($) {
|
||||
}
|
||||
|
||||
SYSMON_updateReadings($hash,$map);
|
||||
$hash->{STATE} = "Active";
|
||||
#$hash->{STATE} = "Active";
|
||||
}
|
||||
|
||||
sub SYSMON_updateReadings($$) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user