m515_curtain_motor.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. name: Curtain motor
  2. products:
  3. - id: t6ief6k56sapz1ey
  4. model: M515EGWT v2
  5. entities:
  6. - entity: cover
  7. class: curtain
  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. - id: 2
  20. name: position
  21. type: integer
  22. range:
  23. min: 0
  24. max: 100
  25. - id: 7
  26. name: action
  27. type: string
  28. persist: false
  29. optional: true
  30. mapping:
  31. - dps_val: opening
  32. value: opening
  33. - dps_val: closing
  34. value: closing
  35. - entity: switch
  36. name: Reversed
  37. icon: "mdi:arrow-u-left-bottom"
  38. category: config
  39. dps:
  40. - id: 5
  41. type: boolean
  42. name: switch
  43. optional: true
  44. mapping:
  45. - dps_val: null
  46. value: false
  47. hidden: true
  48. - entity: binary_sensor
  49. class: problem
  50. category: diagnostic
  51. dps:
  52. - id: 12
  53. type: bitfield
  54. name: sensor
  55. optional: true
  56. mapping:
  57. - dps_val: 0
  58. value: false
  59. - dps_val: null
  60. value: false
  61. - value: true
  62. - id: 12
  63. name: fault_code
  64. type: bitfield
  65. optional: true
  66. - entity: select
  67. name: Border setting
  68. icon: "mdi:border-bottom-variant"
  69. category: config
  70. dps:
  71. - id: 16
  72. type: string
  73. name: option
  74. mapping:
  75. - dps_val: up
  76. value: Top
  77. - dps_val: down
  78. value: Bottom
  79. - dps_val: up_delete
  80. value: Clear top
  81. - dps_val: down_delete
  82. value: Clear bottom
  83. - dps_val: remove_top_bottom
  84. value: Clear all
  85. - entity: number
  86. name: Best position
  87. category: config
  88. icon: "mdi:roller-shade"
  89. dps:
  90. - id: 19
  91. type: integer
  92. name: value
  93. optional: true
  94. unit: "%"
  95. range:
  96. min: 0
  97. max: 100