change setreading value
This commit is contained in:
parent
0863ff4c8d
commit
65073cc7d4
@ -599,7 +599,7 @@ sub WritePending {
|
||||
|
||||
# Processing pending commands
|
||||
if ( ( $hash->{INVALID_DEVICE} // "0" ) eq "1" ) {
|
||||
readingsSingleUpdate( $hash, 'state', 'invalid', 0 );
|
||||
readingsSingleUpdate( $hash, 'state', 'invalid', 1 );
|
||||
}
|
||||
else {
|
||||
if ($pending) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user