Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Aug 4, 2021
1 parent 47a2951 commit a032891
Show file tree
Hide file tree
Showing 3 changed files with 5,864 additions and 260 deletions.
2 changes: 1 addition & 1 deletion lib/switchbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class Switchbot {
if (id) {
id = id.toLowerCase().replace(/\:/g, '');
ad_id = ad.address.toLowerCase().replace(/[^a-z0-9]/g, '');
if (ad_id !== id) {
if (ad_id !== id) {
return false;
}
}
Expand Down
Loading

0 comments on commit a032891

Please sign in to comment.