avatto_cls02_curtainduallights.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. name: Curtain and lights
  2. products:
  3. - id: jcw6pwi3f7ew4s0f
  4. manufacturer: Avatto
  5. model: SYS-CLS02
  6. entities:
  7. - entity: cover
  8. class: curtain
  9. dps:
  10. - id: 1
  11. name: control
  12. type: string
  13. mapping:
  14. - dps_val: open
  15. value: open
  16. - dps_val: close
  17. value: close
  18. - dps_val: stop
  19. value: stop
  20. - id: 2
  21. name: position
  22. type: integer
  23. unit: "%"
  24. range:
  25. min: 0
  26. max: 100
  27. mapping:
  28. - step: 10
  29. - entity: light
  30. name: Light 1
  31. dps:
  32. - id: 102
  33. type: boolean
  34. name: switch
  35. - entity: light
  36. name: Light 2
  37. dps:
  38. - id: 105
  39. type: boolean
  40. name: switch
  41. - entity: select
  42. name: Calibration
  43. icon: "mdi:curtains"
  44. category: config
  45. dps:
  46. - id: 3
  47. type: string
  48. name: option
  49. optional: true
  50. mapping:
  51. - dps_val: start
  52. value: Start
  53. - dps_val: end
  54. value: End
  55. - entity: light
  56. translation_key: backlight
  57. category: config
  58. dps:
  59. - id: 7
  60. type: boolean
  61. name: switch
  62. - entity: select
  63. name: Direction
  64. icon: "mdi:arrow-u-down-left"
  65. category: config
  66. dps:
  67. - id: 8
  68. type: string
  69. name: option
  70. mapping:
  71. - dps_val: forward
  72. value: Forward
  73. - dps_val: back
  74. value: Back
  75. - entity: number
  76. name: Travel time
  77. category: config
  78. class: duration
  79. icon: "mdi:timer"
  80. dps:
  81. - id: 10
  82. type: integer
  83. name: value
  84. unit: s
  85. range:
  86. min: 10
  87. max: 120
  88. - entity: number
  89. name: Light 1 timer
  90. category: config
  91. class: duration
  92. translation_key: timer
  93. dps:
  94. - id: 104
  95. type: integer
  96. optional: true
  97. name: value
  98. unit: min
  99. range:
  100. min: 0
  101. max: 86400
  102. mapping:
  103. - scale: 60
  104. step: 60
  105. - entity: number
  106. name: Light 2 timer
  107. category: config
  108. class: duration
  109. translation_key: timer
  110. dps:
  111. - id: 107
  112. type: integer
  113. optional: true
  114. name: value
  115. unit: min
  116. range:
  117. min: 0
  118. max: 86400
  119. mapping:
  120. - scale: 60
  121. step: 60
  122. - entity: select
  123. name: Percentage switch
  124. icon: "mdi:percent-box"
  125. category: config
  126. dps:
  127. - id: 101
  128. type: boolean
  129. name: option
  130. mapping:
  131. - dps_val: true
  132. value: percent_on
  133. - dps_val: false
  134. value: percent_off
  135. - entity: text
  136. name: Random schedule 1
  137. category: config
  138. icon: "mdi:calendar-clock"
  139. hidden: true
  140. dps:
  141. - id: 103
  142. type: base64
  143. optional: true
  144. name: value
  145. - entity: text
  146. name: Random schedule 2
  147. category: config
  148. icon: "mdi:calendar-clock"
  149. hidden: true
  150. dps:
  151. - id: 106
  152. type: base64
  153. optional: true
  154. name: value
  155. - entity: number
  156. name: Calibration position
  157. category: config
  158. icon: "mdi:curtains"
  159. dps:
  160. - id: 108
  161. type: integer
  162. optional: true
  163. name: value
  164. unit: "%"
  165. range:
  166. min: 0
  167. max: 100