qs_c01_curtain.yaml 990 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: Curtain module
  2. products:
  3. - id: ujrix5o9vgovrctb
  4. primary_entity:
  5. entity: cover
  6. class: curtain
  7. dps:
  8. - id: 1
  9. name: control
  10. type: string
  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: 2
  19. name: position
  20. type: integer
  21. unit: "%"
  22. range:
  23. min: 0
  24. max: 100
  25. mapping:
  26. - step: 10
  27. secondary_entities:
  28. - entity: select
  29. name: Motor reverse mode
  30. category: config
  31. icon: "mdi:sign-direction"
  32. dps:
  33. - id: 8
  34. name: option
  35. type: string
  36. mapping:
  37. - dps_val: forward
  38. value: Forward
  39. - dps_val: back
  40. value: Back
  41. - entity: number
  42. name: Travel time
  43. category: config
  44. icon: "mdi:timer"
  45. dps:
  46. - id: 10
  47. name: value
  48. type: integer
  49. unit: s
  50. range:
  51. min: 1
  52. max: 60