mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 14:16:42 +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" )
|
if( AttrVal($name, "disable", "") eq "1" )
|
||||||
{
|
{
|
||||||
#SYSMON_Log($hash, 5, "disabled");
|
#SYSMON_Log($hash, 5, "disabled");
|
||||||
$hash->{STATE} = "Inactive";
|
#$hash->{STATE} = "Inactive";
|
||||||
} else {
|
} else {
|
||||||
# Beim ersten mal alles aktualisieren!
|
# Beim ersten mal alles aktualisieren!
|
||||||
if(!$hash->{helper}{u_first_mark}) {
|
if(!$hash->{helper}{u_first_mark}) {
|
||||||
@ -889,7 +889,7 @@ SYSMON_Update($;$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SYSMON_updateReadings($hash,$map);
|
SYSMON_updateReadings($hash,$map);
|
||||||
$hash->{STATE} = "Active";
|
#$hash->{STATE} = "Active";
|
||||||
} else {
|
} else {
|
||||||
# blocking call
|
# blocking call
|
||||||
if ( exists( $hash->{helper}{READOUT_RUNNING_PID} ) ) {
|
if ( exists( $hash->{helper}{READOUT_RUNNING_PID} ) ) {
|
||||||
@ -1048,7 +1048,7 @@ sub SYSMON_blockingFinish($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SYSMON_updateReadings($hash,$map);
|
SYSMON_updateReadings($hash,$map);
|
||||||
$hash->{STATE} = "Active";
|
#$hash->{STATE} = "Active";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub SYSMON_updateReadings($$) {
|
sub SYSMON_updateReadings($$) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user