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