avatto_curtain_duallights.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. name: Curtain and lights
  2. products:
  3. - id: n76sxga6lyfujuac
  4. manufacturer: Avatto
  5. model: SYS-CL02
  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: 101
  33. type: boolean
  34. name: switch
  35. - entity: light
  36. name: Light 2
  37. dps:
  38. - id: 102
  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: select
  89. name: Motor connection
  90. icon: "mdi:cogs"
  91. category: config
  92. dps:
  93. - id: 12
  94. type: string
  95. optional: true
  96. name: option
  97. mapping:
  98. - dps_val: strong_power
  99. value: Direct
  100. - dps_val: dry_contact
  101. value: Via relay
  102. - entity: number
  103. name: Light 1 timer
  104. category: config
  105. class: duration
  106. translation_key: timer
  107. dps:
  108. - id: 103
  109. type: integer
  110. optional: true
  111. name: value
  112. unit: min
  113. range:
  114. min: 0
  115. max: 86400
  116. mapping:
  117. - scale: 60
  118. step: 60
  119. - entity: number
  120. name: Light 2 timer
  121. category: config
  122. class: duration
  123. translation_key: timer
  124. dps:
  125. - id: 104
  126. type: integer
  127. optional: true
  128. name: value
  129. unit: min
  130. range:
  131. min: 0
  132. max: 86400
  133. mapping:
  134. - scale: 60
  135. step: 60