Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehir committed Sep 12, 2022
1 parent 8129c7e commit fad3d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/HomeKitFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ const HomeKitFormat = (() => {
const map = {
false : 0,
true : 1
}
};
const result = map[dotProp.get(rawEvent, 'state.on')];
return result !== undefined ? result : map.undefined;
});
Expand Down

0 comments on commit fad3d6d

Please sign in to comment.