-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cd79cf
commit e8ef0a7
Showing
4 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
'use strict' | ||
|
||
const ABILITY_NAME = 'switch' | ||
const RELAYS_ABILITY_NAME = 'relaysSwitch' | ||
const WAYS_OPTION = 'ways' | ||
const RELAY_GPIO_1_OPTION = 'relayGpio1' | ||
const RELAY_GPIO_2_OPTION = 'relayGpio2' | ||
const SENSOR_GPIO_OPTION = 'sensorGpio' | ||
const DEBOUNCE_OPTION = 'debounce' | ||
const REVERSE_STATE_OPTION = 'reverse' | ||
const INVERT_RELAYS_OPTION = 'invertRelays' | ||
|
||
module.exports = { | ||
ABILITY_NAME, | ||
RELAYS_ABILITY_NAME, | ||
WAYS_OPTION, | ||
RELAY_GPIO_1_OPTION, | ||
RELAY_GPIO_2_OPTION, | ||
SENSOR_GPIO_OPTION, | ||
DEBOUNCE_OPTION, | ||
REVERSE_STATE_OPTION | ||
REVERSE_STATE_OPTION, | ||
INVERT_RELAYS_OPTION | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters