eruiklink_curtains.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. name: Curtain
  2. products:
  3. - id: oxzxmhkdvqexpwqo
  4. manufacturer: Eruiklink
  5. name: Curtain motor
  6. entities:
  7. - entity: cover
  8. class: curtain
  9. dps:
  10. - id: 1
  11. type: string
  12. name: control
  13. mapping:
  14. - dps_val: open
  15. value: open
  16. - dps_val: close
  17. value: close
  18. - dps_val: stop
  19. value: stop
  20. - id: 2
  21. type: integer
  22. name: position
  23. range:
  24. min: 0
  25. max: 100
  26. - id: 3
  27. type: integer
  28. name: current_position
  29. range:
  30. min: 0
  31. max: 100
  32. - id: 7
  33. type: string
  34. name: unreliable_action
  35. - id: 11
  36. type: string
  37. name: situation_set
  38. optional: true
  39. - entity: select
  40. name: Direction
  41. icon: "mdi:arrow-u-left-bottom"
  42. category: config
  43. dps:
  44. - id: 5
  45. type: string
  46. name: option
  47. mapping:
  48. - dps_val: forward
  49. value: Clockwise
  50. - dps_val: back
  51. value: Anti-clockwise
  52. - entity: binary_sensor
  53. class: problem
  54. category: diagnostic
  55. dps:
  56. - id: 12
  57. type: bitfield
  58. name: sensor
  59. optional: true
  60. mapping:
  61. - dps_val: 0
  62. value: false
  63. - dps_val: null
  64. value: false
  65. - value: true
  66. - id: 12
  67. type: bitfield
  68. optional: true
  69. name: fault_code
  70. - entity: binary_sensor
  71. name: Hand pulled
  72. icon: "mdi:hand-back-right"
  73. category: diagnostic
  74. dps:
  75. - id: 102
  76. type: boolean
  77. name: sensor