Skip to content

Commit

Permalink
Fix SSR303 capability
Browse files Browse the repository at this point in the history
  • Loading branch information
hankolsen committed Apr 5, 2021
1 parent b6be3d8 commit a629844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ssr303/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SSR303Device extends ZwaveDevice {
this.log('SSR303Device Init');
this.printNodeSummary();

this.registerCapability('on_off', 'SWITCH_BINARY', {
this.registerCapability('onoff', 'SWITCH_BINARY', {
setParser: (value) => ({
'Switch Value': value > 0 ? 255 : 0,
}),
Expand Down

0 comments on commit a629844

Please sign in to comment.