mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9671 from s-hadinger/zigbee_tooltip
Zigbee display modelId and ManufacturerId in tooltip
This commit is contained in:
commit
5421c608cd
|
@ -1715,10 +1715,13 @@ void ZigbeeShow(bool json)
|
||||||
|
|
||||||
WSContentSend_PD(PSTR(
|
WSContentSend_PD(PSTR(
|
||||||
"<tr class='ztd htr'>"
|
"<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>%s</td>" // sbatt (Battery Indicator)
|
||||||
"<td><div title='" D_LQI " %s' class='ssi'>" // slqi
|
"<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()) {
|
if(device.validLqi()) {
|
||||||
for(uint32_t j = 0; j < 4; ++j) {
|
for(uint32_t j = 0; j < 4; ++j) {
|
||||||
|
|
Loading…
Reference in New Issue