zemismart_am25_rollerblind.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. name: Roller blind
  2. products:
  3. - id: 7qcsglvoqkrdduk6
  4. name: AM25WIFI
  5. primary_entity:
  6. entity: cover
  7. class: blind
  8. dps:
  9. - id: 1
  10. name: control
  11. type: string
  12. mapping:
  13. - dps_val: open
  14. value: open
  15. - dps_val: stop
  16. value: stop
  17. - dps_val: close
  18. value: close
  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. mapping:
  28. - invert: true
  29. - id: 3
  30. name: missing_current_position
  31. type: integer
  32. optional: true
  33. range:
  34. min: 0
  35. max: 100
  36. mapping:
  37. - invert: true
  38. - id: 7
  39. name: work_state
  40. type: string
  41. optional: true
  42. - id: 109
  43. type: integer
  44. name: tilt_position
  45. range:
  46. min: 1
  47. max: 10
  48. secondary_entities:
  49. - entity: binary_sensor
  50. class: problem
  51. category: diagnostic
  52. dps:
  53. - id: 12
  54. type: bitfield
  55. name: sensor
  56. optional: true
  57. mapping:
  58. - dps_val: null
  59. value: false
  60. - dps_val: 0
  61. value: false
  62. - value: true
  63. - id: 12
  64. type: bitfield
  65. name: fault_code
  66. optional: true
  67. - entity: select
  68. name: Direction
  69. icon: "mdi:swap-horizontal"
  70. category: config
  71. dps:
  72. - id: 103
  73. type: boolean
  74. name: option
  75. optional: true
  76. mapping:
  77. - dps_val: false
  78. value: forward
  79. - dps_val: true
  80. value: reverse
  81. - dps_val: null
  82. value: forward
  83. hidden: true
  84. - entity: switch
  85. name: Limit up
  86. category: config
  87. dps:
  88. - id: 104
  89. type: boolean
  90. name: switch
  91. - entity: switch
  92. name: Limit down
  93. category: config
  94. dps:
  95. - id: 105
  96. type: boolean
  97. name: switch
  98. - entity: button
  99. name: Reset limits
  100. category: config
  101. dps:
  102. - id: 107
  103. type: boolean
  104. name: button
  105. optional: true