zemismart_roller_shade.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. name: Roller shade
  2. products:
  3. - id: jzmy5ut0vishwscm
  4. name: Zemismart ZM25TQ
  5. primary_entity:
  6. entity: cover
  7. class: shade
  8. dps:
  9. - id: 1
  10. name: control
  11. type: string
  12. mapping:
  13. - dps_val: open
  14. value: open
  15. - dps_val: close
  16. value: close
  17. - dps_val: stop
  18. value: stop
  19. - dps_val: continue
  20. value: continue
  21. - id: 2
  22. name: position
  23. type: integer
  24. range:
  25. min: 0
  26. max: 100
  27. - id: 3
  28. name: current_position
  29. type: integer
  30. range:
  31. min: 0
  32. max: 100
  33. - id: 7
  34. name: unreliable_action
  35. type: string
  36. mapping:
  37. - dps_val: opening
  38. value: opening
  39. constraint: current_position
  40. conditions:
  41. - dps_val: 0
  42. value: opened
  43. - dps_val: closing
  44. value: closing
  45. constraint: current_position
  46. conditions:
  47. - dps_val: 100
  48. value: closed
  49. - id: 12
  50. name: fault_code
  51. type: bitfield
  52. secondary_entities:
  53. - entity: select
  54. name: Direction
  55. icon: "mdi:swap-horizontal"
  56. category: config
  57. dps:
  58. - id: 5
  59. type: string
  60. name: option
  61. mapping:
  62. - dps_val: forward
  63. value: Forward
  64. - dps_val: back
  65. value: Reverse
  66. - entity: sensor
  67. name: Situation
  68. class: enum
  69. category: diagnostic
  70. dps:
  71. - id: 11
  72. type: string
  73. name: sensor
  74. mapping:
  75. - dps_val: fully_open
  76. value: Fully open
  77. - dps_val: fully_close
  78. value: Fully closed
  79. - entity: binary_sensor
  80. class: problem
  81. category: diagnostic
  82. dps:
  83. - id: 12
  84. type: bitfield
  85. name: sensor
  86. mapping:
  87. - dps_val: 0
  88. value: false
  89. - value: true
  90. - entity: select
  91. name: Motor mode
  92. icon: "mdi:cog-transfer"
  93. category: config
  94. dps:
  95. - id: 106
  96. type: string
  97. name: option
  98. mapping:
  99. - dps_val: contiuation
  100. value: Auto
  101. - dps_val: point
  102. value: Manual
  103. - entity: button
  104. name: Upper limit reset
  105. icon: "mdi:arrow-collapse-up"
  106. category: config
  107. dps:
  108. - id: 103
  109. type: boolean
  110. name: button
  111. - entity: button
  112. name: Intermediate limit reset
  113. icon: "mdi:format-vertical-align-center"
  114. category: config
  115. dps:
  116. - id: 104
  117. type: boolean
  118. name: button
  119. - entity: button
  120. name: Lower limit reset
  121. icon: "mdi:arrow-collapse-down"
  122. category: config
  123. dps:
  124. - id: 105
  125. type: boolean
  126. name: button
  127. - entity: button
  128. name: Remote pairing
  129. icon: "mdi:remote"
  130. category: config
  131. dps:
  132. - id: 101
  133. type: boolean
  134. name: button
  135. optional: true
  136. - entity: button
  137. name: All limits reset
  138. class: restart
  139. category: config
  140. dps:
  141. - id: 102
  142. type: boolean
  143. name: button
  144. optional: true