2
0
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:
Skjall 2017-05-14 12:17:55 +00:00
parent 73bb9df85f
commit 4cce50928b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;
}