dooya_curtain.yaml 741 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Dooya curtain
  2. products:
  3. - id: spjpuwf1u2dc7tlt
  4. primary_entity:
  5. entity: cover
  6. class: curtain
  7. dps:
  8. - id: 101
  9. type: string
  10. name: control
  11. mapping:
  12. - dps_val: open
  13. value: open
  14. - dps_val: close
  15. value: close
  16. - dps_val: stop
  17. value: stop
  18. - id: 102
  19. type: integer
  20. name: current_position
  21. - id: 104
  22. type: integer
  23. name: position
  24. secondary_entities:
  25. - entity: select
  26. name: Direction
  27. icon: "mdi:swap-horizontal"
  28. category: config
  29. dps:
  30. - id: 103
  31. type: boolean
  32. name: option
  33. mapping:
  34. - dps_val: false
  35. value: Forward
  36. - dps_val: true
  37. value: Reverse