fs_03w_curtain.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. name: Curtain module
  2. products:
  3. - id: 5rr5k8fzjcogubkt
  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: light
  29. name: Backlight
  30. category: config
  31. dps:
  32. - id: 7
  33. type: boolean
  34. name: switch
  35. - entity: select
  36. name: Motor direction
  37. category: config
  38. icon: "mdi:sign-direction"
  39. dps:
  40. - id: 8
  41. name: option
  42. type: string
  43. mapping:
  44. - dps_val: forward
  45. value: Forward
  46. - dps_val: back
  47. value: Back
  48. - entity: number
  49. name: Travel time
  50. category: config
  51. icon: "mdi:timer"
  52. dps:
  53. - id: 10
  54. name: value
  55. type: integer
  56. unit: s
  57. range:
  58. min: 1
  59. max: 60
  60. - entity: select
  61. name: Light mode
  62. icon: "mdi:circle-double"
  63. category: config
  64. dps:
  65. - id: 14
  66. type: string
  67. name: option
  68. mapping:
  69. - dps_val: relay
  70. value: State
  71. - dps_val: pos
  72. value: Position
  73. - dps_val: none
  74. value: "Off"