athombv / node-homey-rfdriver

This module helps developers create RF (433MHz, 868MHz, Infrared) apps for Homey.
https://athombv.github.io/node-homey-rfdriver
7 stars 3 forks source link

Bug: RF devices added twice when pairing #86

Closed wouter-athom closed 8 months ago

wouter-athom commented 8 months ago

The 'done' check is done quite a while before the 'done' variable is updated. This made it possible for several listeners to pass the check before the value was to true.

Tested with the Alecto-ADB17 on the Homey pro 2023 an the Homey pro 2019 (3d).