Improve configuration
This commit is contained in:
parent
71498256f6
commit
ace4face5a
9 changed files with 39 additions and 24 deletions
|
|
@ -12,5 +12,6 @@ class RelayConfig {
|
|||
driver: "null"|"gpio"|"piface"
|
||||
pin: Number
|
||||
inverted: Boolean
|
||||
pulse: Number(this >= 0)|Null = null
|
||||
}
|
||||
relays: Listing<RelayConfig>
|
||||
|
|
|
|||
Loading…
Reference in a new issue