mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
WMBUS: new reading value_type
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
53f43de8fb
commit
a1fc316b9c
@ -286,6 +286,7 @@ sub WMBUS_SetReadings($$$)
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_type", $dataBlock->{type});
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_value", $dataBlock->{value});
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_unit", $dataBlock->{unit});
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_value_type", $dataBlock->{functionFieldText});
|
||||
if ($dataBlock->{errormsg}) {
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_errormsg", $dataBlock->{errormsg});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user