mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 22:11:22 +00:00
Handle zigbee commands sequentially (and refactor it). #529
This commit is contained in:
1 parent
e54de4bea7
commit
ddb83cc6e4
7 files changed
+184
-120
No files matched your search
+2
-2
@@ -177,8 +177,8 @@ class Zigbee {
|
||||
return this.shepherd.list();
|
||||
}
|
||||
|
||||
getDevice(deviceID) {
|
||||
return this.getDevices().find((d) => d.ieeeAddr === deviceID);
|
||||
getDevice(ieeeAddr) {
|
||||
return this.getDevices().find((d) => d.ieeeAddr === ieeeAddr);
|
||||
}
|
||||
|
||||
getCoordinator() {
|
||||
|
||||
Reference in new issue
Block a user