Merge pull request #9671 from s-hadinger/zigbee_tooltip

Zigbee display modelId and ManufacturerId in tooltip
This commit is contained in:
s-hadinger 2020-10-30 10:46:48 +01:00 committed by GitHub
commit 5421c608cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -1715,10 +1715,13 @@ void ZigbeeShow(bool json)
WSContentSend_PD(PSTR(
"<tr class='ztd htr'>"
"<td><b>%s</b></td>" // name
"<td><b title='0x%04X %s - %s'>%s</b></td>" // name
"<td>%s</td>" // sbatt (Battery Indicator)
"<td><div title='" D_LQI " %s' class='ssi'>" // slqi
), name, sbatt, slqi);
), shortaddr,
device.modelId ? device.modelId : "",
device.manufacturerId ? device.manufacturerId : "",
name, sbatt, slqi);
if(device.validLqi()) {
for(uint32_t j = 0; j < 4; ++j) {