|
@@ -1,6 +1,7 @@
|
|
|
-name: Avatto roller blinds
|
|
|
|
|
|
|
+name: Roller blinds
|
|
|
products:
|
|
products:
|
|
|
- id: 3r8gc33pnqsxfe1g
|
|
- id: 3r8gc33pnqsxfe1g
|
|
|
|
|
+ name: Quoya MC08 blinds motor
|
|
|
primary_entity:
|
|
primary_entity:
|
|
|
entity: cover
|
|
entity: cover
|
|
|
class: blind
|
|
class: blind
|
|
@@ -21,35 +22,41 @@ primary_entity:
|
|
|
range:
|
|
range:
|
|
|
min: 0
|
|
min: 0
|
|
|
max: 100
|
|
max: 100
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - invert: true
|
|
|
- id: 3
|
|
- id: 3
|
|
|
name: current_position
|
|
name: current_position
|
|
|
type: integer
|
|
type: integer
|
|
|
unit: "%"
|
|
unit: "%"
|
|
|
optional: true
|
|
optional: true
|
|
|
persist: false
|
|
persist: false
|
|
|
- - id: 5
|
|
|
|
|
- name: control_back_mode
|
|
|
|
|
- type: boolean
|
|
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - invert: true
|
|
|
|
|
+ range:
|
|
|
|
|
+ min: 0
|
|
|
|
|
+ max: 100
|
|
|
- id: 7
|
|
- id: 7
|
|
|
name: action
|
|
name: action
|
|
|
type: string
|
|
type: string
|
|
|
|
|
+ optional: true
|
|
|
|
|
+ persist: false
|
|
|
mapping:
|
|
mapping:
|
|
|
- dps_val: opening
|
|
- dps_val: opening
|
|
|
value: opening
|
|
value: opening
|
|
|
constraint: current_position
|
|
constraint: current_position
|
|
|
conditions:
|
|
conditions:
|
|
|
- - dps_val: 100
|
|
|
|
|
|
|
+ - dps_val: 0
|
|
|
value: opened
|
|
value: opened
|
|
|
- dps_val: null
|
|
- dps_val: null
|
|
|
- value: opened
|
|
|
|
|
|
|
+ value: null
|
|
|
- dps_val: closing
|
|
- dps_val: closing
|
|
|
value: closing
|
|
value: closing
|
|
|
constraint: current_position
|
|
constraint: current_position
|
|
|
conditions:
|
|
conditions:
|
|
|
- - dps_val: 0
|
|
|
|
|
|
|
+ - dps_val: 100
|
|
|
value: closed
|
|
value: closed
|
|
|
- dps_val: null
|
|
- dps_val: null
|
|
|
- value: closed
|
|
|
|
|
|
|
+ value: null
|
|
|
secondary_entities:
|
|
secondary_entities:
|
|
|
- entity: select
|
|
- entity: select
|
|
|
translation_key: timer
|
|
translation_key: timer
|
|
@@ -88,3 +95,32 @@ secondary_entities:
|
|
|
name: sensor
|
|
name: sensor
|
|
|
type: integer
|
|
type: integer
|
|
|
unit: ms
|
|
unit: ms
|
|
|
|
|
+ - entity: select
|
|
|
|
|
+ name: Direction
|
|
|
|
|
+ icon: "mdi:swap-vertical"
|
|
|
|
|
+ category: config
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 5
|
|
|
|
|
+ type: boolean
|
|
|
|
|
+ name: option
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: false
|
|
|
|
|
+ value: Clockwise
|
|
|
|
|
+ - dps_val: true
|
|
|
|
|
+ value: Anti-clockwise
|
|
|
|
|
+ - entity: binary_sensor
|
|
|
|
|
+ class: problem
|
|
|
|
|
+ category: diagnostic
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 10
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ name: sensor
|
|
|
|
|
+ optional: true
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: 0
|
|
|
|
|
+ value: false
|
|
|
|
|
+ - value: true
|
|
|
|
|
+ - id: 10
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ optional: true
|
|
|
|
|
+ name: fault_code
|