zemismart_roller_shade.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. name: Roller shade
  2. products:
  3. - id: jzmy5ut0vishwscm
  4. manufacturer: Zemismart
  5. model: ZM25TQ
  6. entities:
  7. - entity: cover
  8. class: shade
  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. - dps_val: continue
  21. value: continue
  22. - id: 2
  23. name: position
  24. type: integer
  25. range:
  26. min: 0
  27. max: 100
  28. - id: 3
  29. name: current_position
  30. type: integer
  31. range:
  32. min: 0
  33. max: 100
  34. - id: 7
  35. name: unreliable_action
  36. type: string
  37. mapping:
  38. - dps_val: opening
  39. value: opening
  40. constraint: current_position
  41. conditions:
  42. - dps_val: 0
  43. value: opened
  44. - dps_val: closing
  45. value: closing
  46. constraint: current_position
  47. conditions:
  48. - dps_val: 100
  49. value: closed
  50. - entity: select
  51. name: Direction
  52. icon: "mdi:swap-horizontal"
  53. category: config
  54. dps:
  55. - id: 5
  56. type: string
  57. name: option
  58. mapping:
  59. - dps_val: forward
  60. value: Forward
  61. - dps_val: back
  62. value: Reverse
  63. - entity: sensor
  64. name: Situation
  65. class: enum
  66. category: diagnostic
  67. dps:
  68. - id: 11
  69. type: string
  70. name: sensor
  71. mapping:
  72. - dps_val: fully_open
  73. value: Fully open
  74. - dps_val: fully_close
  75. value: Fully closed
  76. - entity: binary_sensor
  77. class: problem
  78. category: diagnostic
  79. dps:
  80. - id: 12
  81. type: bitfield
  82. name: sensor
  83. mapping:
  84. - dps_val: 0
  85. value: false
  86. - value: true
  87. - id: 12
  88. name: fault_code
  89. type: bitfield
  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