diff --git a/fhem/CHANGED b/fhem/CHANGED index 441bdd3bf..8b63c90c1 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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. + - change: 36_WMBUS: standard battery readings - change: 32_withings/38_netatmo/72_XiaomiDevice: standard battery readings - bugfix: 98_dewpoint: Use NOTIFYDEV with framework functions - feature: 57_Calendar: new parameter "limit" (forum #87566) diff --git a/fhem/FHEM/36_WMBUS.pm b/fhem/FHEM/36_WMBUS.pm index 1d1264c4c..738db4539 100644 --- a/fhem/FHEM/36_WMBUS.pm +++ b/fhem/FHEM/36_WMBUS.pm @@ -340,7 +340,7 @@ sub WMBUS_SetReadings($$$) readingsBulkUpdate($hash, "$dataBlock->{number}_errormsg", $dataBlock->{errormsg}); } } - readingsBulkUpdate($hash, "battery", $mb->{status} & 4 ? "low" : "ok"); + readingsBulkUpdate($hash, "batteryState", $mb->{status} & 4 ? "low" : "ok"); WMBUS_SetDeviceSpecificReadings($hash, $name, $mb); } @@ -542,7 +542,7 @@ WMBUS_Attr(@)
is_encrypted is 1 if the received message is encrypted.decryption_ok is 1 if a message has either been successfully decrypted or if it is unencrypted.state contains the state of the meter and may contain error message like battery low. Normally it contains 'no error'.battery contains ok or low.batteryState contains ok or low.is_encrypted ist 1 wenn die empfangene Nachricht verschlüsselt ist.decryption_ok ist 1 wenn die Nachricht entweder erfolgreich entschlüsselt wurde oder gar nicht verschlüsselt war.state enthält den Status des Zählers und kann Fehlermeldungen wie 'battery low' enthalten. Normalerweise ist der Wert 'no error'.battery enthält ok oder low.batteryState enthält ok oder low.