mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Merge pull request #371 from dzungpv/dev
Fix foundation error from #8433571
This commit is contained in:
commit
fbbc1fad73
@ -192,7 +192,7 @@ class Zigbee {
|
||||
|
||||
logger.info(`Zigbee publish to '${deviceID}', ${cid} - ${cmd} - ${JSON.stringify(zclData)} - ${ep}`);
|
||||
|
||||
device[type](cid, cmd, zclData, (error) => {
|
||||
device[type](cid, cmd, [zclData], (error) => {
|
||||
if (error) {
|
||||
logger.error(
|
||||
`Zigbee publish to '${deviceID}', ${cid} - ${cmd} - ${JSON.stringify(zclData)} - ${ep} ` +
|
||||
|
Loading…
Reference in New Issue
Block a user