Merge pull request #6833 from s-hadinger/zigbee_remove_underscore

Remove underscore from LinkQuality field
This commit is contained in:
Theo Arends 2019-11-03 20:50:27 +01:00 committed by GitHub
commit 93f0f9a6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ int32_t Z_ReceiveAfIncomingMessage(int32_t res, const class SBuffer &buf) {
zcl_received.postProcessAttributes(srcaddr, json);
// Add linkquality
json[F("_" D_CMND_ZIGBEE_LINKQUALITY)] = linkquality; // prefix with underscore for metadata
json[F(D_CMND_ZIGBEE_LINKQUALITY)] = linkquality; // prefix with underscore for metadata
msg = "";
json_root.printTo(msg);