Skip to content

Commit 13c9de8

Browse files
authored
Removing displayDuringSetup since it isn't used.
1 parent f366c30 commit 13c9de8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Drivers/fibaro-double-switch-2-fgs-223.src/fibaro-double-switch-2-fgs-223.groovy

+3-7
Original file line numberDiff line numberDiff line change
@@ -459,30 +459,26 @@ def generate_preferences(configuration_model)
459459
input "${it.@index}", "number",
460460
title:"${it.@label}\n" + "${it.Help}",
461461
range: "${it.@min}..${it.@max}",
462-
defaultValue: "${it.@value}",
463-
displayDuringSetup: "${it.@displayDuringSetup}"
462+
defaultValue: "${it.@value}"
464463
break
465464
case "list":
466465
def items = []
467466
it.Item.each { items << ["${it.@value}":"${it.@label}"] }
468467
input "${it.@index}", "enum",
469468
title:"${it.@label}\n" + "${it.Help}",
470469
defaultValue: "${it.@value}",
471-
displayDuringSetup: "${it.@displayDuringSetup}",
472470
options: items
473471
break
474472
case "decimal":
475473
input "${it.@index}", "decimal",
476474
title:"${it.@label}\n" + "${it.Help}",
477475
range: "${it.@min}..${it.@max}",
478-
defaultValue: "${it.@value}",
479-
displayDuringSetup: "${it.@displayDuringSetup}"
476+
defaultValue: "${it.@value}"
480477
break
481478
case "boolean":
482479
input "${it.@index}", "bool",
483480
title: it.@label != "" ? "${it.@label}\n" + "${it.Help}" : "" + "${it.Help}",
484-
defaultValue: "${it.@value}",
485-
displayDuringSetup: "${it.@displayDuringSetup}"
481+
defaultValue: "${it.@value}"
486482
break
487483
case "paragraph":
488484
input title: "${it.@label}",

0 commit comments

Comments
 (0)