Skip to content

Commit

Permalink
roller
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Sep 17, 2023
1 parent fa17a86 commit c3ce54e
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 135 deletions.
2 changes: 1 addition & 1 deletion lib/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ export default class {
accessory = this.devicesInHB.get(hbUUID) || this.addAccessory(device);
accessory.context = { ...accessory.context, ...context };
this.applyAccessoryLogging(accessory);
accessory.control = ['6.0.0', '8.0.0'].includes(device.hdwareVersion)
accessory.control = ['6.0.0', '7.0.0', '8.0.0'].includes(device.hdwareVersion)
? new deviceTypes.deviceRollerLocation(this, accessory)
: new deviceTypes.deviceRoller(this, accessory);
/** ******** */
Expand Down
Loading

0 comments on commit c3ce54e

Please sign in to comment.