mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
36_Vallox: Changed way multireadings are updated.
git-svn-id: https://svn.fhem.de/fhem/trunk@14280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
73bb9df85f
commit
4cce50928b
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 36_Vallox: Changed way multireadings are updated.
|
||||
- feature: 49_TBot_List: sorting entries plus corrections
|
||||
- bugfix: 73_PRESENCE: fix restart of threshold counter after FHEM restart
|
||||
- feature: 44_S7: new attribute receiveTimeoutMs
|
||||
|
@ -336,7 +336,7 @@ sub Vallox_ReplaceBit ($@) {
|
||||
sub Vallox_readingsBulkUpdateMultiReading($@) {
|
||||
my ($hash, $rawReadingType, $readingname, $bitnumber,) = @_;
|
||||
|
||||
readingsBulkUpdate($hash, $readingname, substr($hash->{"MR_".$Vallox_datatypes{$rawReadingType}},8-$bitnumber-1,1)) if (ReadingsVal($hash->{NAME},$readingname,"unknown") ne substr($hash->{"MR_".$Vallox_datatypes{$rawReadingType}},8-$bitnumber-1,1));
|
||||
readingsBulkUpdate($hash, $readingname, substr($hash->{"MR_".$Vallox_datatypes{$rawReadingType}},8-$bitnumber-1,1)); # if (ReadingsVal($hash->{NAME},$readingname,"unknown") ne substr($hash->{"MR_".$Vallox_datatypes{$rawReadingType}},8-$bitnumber-1,1));
|
||||
return;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user