mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
parent
6ff3954b71
commit
1ddf60bef0
@ -169,10 +169,10 @@ class DevicePublish {
|
|||||||
msg[_key] = key.startsWith('brightness') ? 'ON' : json['state'];
|
msg[_key] = key.startsWith('brightness') ? 'ON' : json['state'];
|
||||||
this.publishDeviceState(device, msg, true);
|
this.publishDeviceState(device, msg, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
queueCallback();
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
setTimeout(() => queueCallback(), 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
// It's possible for devices to get out of sync when writing an attribute that's not reportable.
|
// It's possible for devices to get out of sync when writing an attribute that's not reportable.
|
||||||
|
Loading…
Reference in New Issue
Block a user