mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
Fix foundation error from #8433571
This commit is contained in:
parent
6ede5a373e
commit
469a01ebb6
@ -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