- add optional switch type and calibration Issue #5498
@@ -1,4 +1,7 @@
name: Curtain module
+products:
+ - id: uoa3mayicscacseb
+ model: QS-WIFI-S10-C04
entities:
- entity: cover
class: curtain
@@ -51,3 +54,50 @@ entities:
range:
min: 1
max: 60
+ - entity: button
+ name: Calibration start
+ category: config
+ hidden: true
+ dps:
+ - id: 3
+ type: string
+ optional: true
+ name: button
+ mapping:
+ - dps_val: start
+ value: true
+ name: Calibration end
+ - dps_val: end
+ - entity: select
+ name: Switch type
+ icon: "mdi:toggle-switch"
+ hidden: unavailable
+ - id: 12
+ name: option
+ - dps_val: rock
+ value: Rocker switch
+ - dps_val: push
+ value: Push button
+ name: available
+ - dps_val: null
+ value: false
+ - value: true