zemismart_roller_shade_zm25r2.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. name: Zemismart Roller Shade - ZM25R2
  2. products:
  3. - id: 8nuvcigdwbth6dj7
  4. name: Zemismart ZM25R2
  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. optional: true
  25. range:
  26. min: 0
  27. max: 100
  28. mapping:
  29. - invert: true
  30. - id: 3
  31. name: current_position
  32. type: integer
  33. range:
  34. min: 0
  35. max: 100
  36. mapping:
  37. - invert: true
  38. - id: 4
  39. name: mode
  40. type: string
  41. optional: true
  42. mapping:
  43. - dps_val: morning
  44. value: morning
  45. - dps_val: night
  46. value: night
  47. - id: 5
  48. name: control_back
  49. type: string
  50. mapping:
  51. - dps_val: forward
  52. value: forward
  53. - dps_val: back
  54. value: back
  55. - id: 7
  56. name: unreliable_action
  57. type: string
  58. mapping:
  59. - dps_val: opening
  60. value: opening
  61. constraint: current_position
  62. conditions:
  63. - dps_val: 0
  64. value: opened
  65. - dps_val: closing
  66. value: closing
  67. constraint: current_position
  68. conditions:
  69. - dps_val: 100
  70. value: closed
  71. - id: 10
  72. name: time_total
  73. type: integer
  74. range:
  75. min: 0
  76. max: 120000
  77. - id: 12
  78. name: fault
  79. type: bitfield
  80. optional: true
  81. secondary_entities:
  82. - entity: binary_sensor
  83. class: problem
  84. category: diagnostic
  85. dps:
  86. - id: 12
  87. type: bitfield
  88. name: sensor
  89. mapping:
  90. - dps_val: 0
  91. value: false
  92. - value: true
  93. optional: true
  94. - entity: button
  95. name: Remote pairing
  96. icon: "mdi:remote"
  97. category: config
  98. dps:
  99. - id: 101
  100. type: boolean
  101. name: button
  102. optional: true