Even the product ids were the same
@@ -1,6 +1,8 @@
-name: Dooya curtain
+name: Curtain
+legacy_type: smartcurtain_acs_wt
products:
- id: spjpuwf1u2dc7tlt
+ name: SmartCurtain 3
primary_entity:
entity: cover
class: curtain
@@ -29,9 +31,13 @@ secondary_entities:
dps:
- id: 103
type: boolean
+ optional: true
name: option
mapping:
- dps_val: false
value: Forward
- dps_val: true
value: Reverse
+ - dps_val: null
+ value: Forward
+ hidden: true
@@ -1,40 +0,0 @@
-name: Curtain
-products:
- - id: spjpuwf1u2dc7tlt
- name: SmartCurtain 3
-primary_entity:
- entity: cover
- class: curtain
- dps:
- - id: 101
- type: string
- name: control
- mapping:
- - dps_val: open
- value: open
- - dps_val: close
- value: close
- - dps_val: stop
- value: stop
- - id: 102
- type: integer
- name: current_position
- - id: 104
- name: position
- range:
- min: 0
- max: 100
-secondary_entities:
- - entity: switch
- name: Reverse
- category: config
- - id: 103
- type: boolean
- optional: true
- name: switch
- - dps_val: null
- value: false
- hidden: true