mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +00:00
45_TRX.pm: change state on every command received
git-svn-id: https://svn.fhem.de/fhem/trunk@11456 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
61b86445a6
commit
1ed3c72820
@ -523,6 +523,7 @@ TRX_Parse($$$$)
|
||||
$hash->{"${name}_MSGCNT"}++;
|
||||
$hash->{"${name}_TIME"} = TimeNow();
|
||||
$hash->{RAWMSG} = $rmsg;
|
||||
readingsSingleUpdate($hash, "state", $hash->{READINGS}{state}{VAL}, 0);
|
||||
} else {
|
||||
Log3 $hash, 5, "TRX_Parse() '$rmsg' dup";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user