Skip to content

Commit

Permalink
Re-resolve the workaround of #440
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-cam committed Jun 17, 2023
1 parent ea1fe17 commit 103cb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/accessory.js
Expand Up @@ -112,7 +112,7 @@ class BroadlinkRMAccessory extends HomebridgeAccessory {
if (sendCount > 1) {interval = interval || 0.1;}

// Itterate through each hex config in the array
for (let index = 0; index < sendCount; index++) {
for (let index = 0; data && index < sendCount; index++) {
sendData({ host, hexData: data, log, name, logLevel });

if (interval && index < sendCount - 1) {
Expand Down

0 comments on commit 103cb57

Please sign in to comment.