yueqingcombo_yet848pc_curtain.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. - id: 3
  27. name: current_position
  28. type: integer
  29. secondary_entities:
  30. - entity: select
  31. name: Motor direction
  32. icon: "mdi:sign-direction"
  33. category: config
  34. dps:
  35. - id: 5
  36. type: string
  37. name: option
  38. optional: true
  39. mapping:
  40. - dps_val: forward
  41. value: Clockwise
  42. - dps_val: back
  43. value: Anti-clockwise
  44. - dps_val: null
  45. value: Clockwise
  46. hidden: true
  47. - entity: binary_sensor
  48. class: problem
  49. category: diagnostic
  50. dps:
  51. - id: 12
  52. type: bitfield
  53. optional: true
  54. name: sensor
  55. mapping:
  56. - dps_val: 0
  57. value: false
  58. - dps_val: null
  59. value: false
  60. - value: true
  61. - id: 12
  62. type: bitfield
  63. optional: true
  64. name: fault_code