yueqingcombo_yet848pc_curtain.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. name: Curtain
  2. products:
  3. - id: wraaecjqfiirj8go
  4. name: Yueing Combo YET848PC
  5. primary_entity:
  6. entity: cover
  7. class: curtain
  8. dps:
  9. - id: 1
  10. type: string
  11. optional: true
  12. name: control
  13. mapping:
  14. - dps_val: open
  15. value: open
  16. - dps_val: stop
  17. value: stop
  18. - dps_val: close
  19. value: close
  20. - id: 2
  21. name: position
  22. type: integer
  23. range:
  24. min: 0
  25. max: 100
  26. mapping:
  27. - invert: true
  28. - id: 3
  29. name: current_position
  30. type: integer
  31. range:
  32. min: 0
  33. max: 100
  34. mapping:
  35. - invert: true
  36. secondary_entities:
  37. - entity: select
  38. name: Motor direction
  39. icon: "mdi:sign-direction"
  40. category: config
  41. dps:
  42. - id: 5
  43. type: string
  44. name: option
  45. optional: true
  46. mapping:
  47. - dps_val: forward
  48. value: Clockwise
  49. - dps_val: back
  50. value: Anti-clockwise
  51. - dps_val: null
  52. value: Clockwise
  53. hidden: true
  54. - entity: binary_sensor
  55. class: problem
  56. category: diagnostic
  57. dps:
  58. - id: 12
  59. type: bitfield
  60. optional: true
  61. name: sensor
  62. mapping:
  63. - dps_val: 0
  64. value: false
  65. - dps_val: null
  66. value: false
  67. - value: true
  68. - id: 12
  69. type: bitfield
  70. optional: true
  71. name: fault_code