Skip to content

Commit

Permalink
fix homekit config - make boolean to text (#1279)
Browse files Browse the repository at this point in the history
Signed-off-by: Eugen Freiter <freiter@gmx.de>
  • Loading branch information
yfre authored Jan 16, 2022
1 parent b10409f commit 8fbf039
Showing 1 changed file with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,24 @@ const valveTypeParameter = {
const invertedParameter = {
name: 'inverted',
label: 'inverted',
type: 'BOOLEAN',
description: 'invert the value for HomeKit'
type: 'TEXT',
description: 'invert the value for HomeKit (default is true)',
limitToOptions: true,
options: [
{ value: 'false', label: 'false' },
{ value: 'true', label: 'true' }
]
}

const valveTimerParameter = {
name: 'homekitTimer',
label: 'Timer',
type: 'BOOLEAN'
type: 'TEXT',
limitToOptions: true,
options: [
{ value: 'false', label: 'false' },
{ value: 'true', label: 'true' }
]
}

const valveDefaultDuration = {
Expand Down

0 comments on commit 8fbf039

Please sign in to comment.