Improve configuration

This commit is contained in:
Tobias Reisinger 2024-04-29 04:19:02 +02:00
parent 71498256f6
commit ace4face5a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 66 additions and 51 deletions
config/lib

View file

@ -12,5 +12,6 @@ class RelayConfig {
driver: "null"|"gpio"|"piface"
pin: Number
inverted: Boolean
pulse: Number(this >= 0)|Null = null
}
relays: Listing<RelayConfig>