avatto_curtain_light.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. name: Avatto Curtain and Light
  2. products:
  3. - id: v59tpvs4ubvjalhq
  4. manufacturer: Avatto
  5. model: CB3S
  6. entities:
  7. - entity: cover
  8. class: curtain
  9. dps:
  10. - id: 1
  11. name: control
  12. type: string
  13. mapping:
  14. - dps_val: open
  15. value: open
  16. - dps_val: close
  17. value: close
  18. - dps_val: stop
  19. value: stop
  20. - id: 2
  21. name: position
  22. type: integer
  23. unit: "%"
  24. range:
  25. min: 0
  26. max: 100
  27. mapping:
  28. - step: 10
  29. - entity: light
  30. dps:
  31. - id: 102
  32. type: boolean
  33. name: switch
  34. - entity: select
  35. name: Calibration
  36. icon: "mdi:curtains"
  37. category: config
  38. dps:
  39. - id: 3
  40. type: string
  41. name: option
  42. optional: true
  43. mapping:
  44. - dps_val: start
  45. value: Start
  46. - dps_val: end
  47. value: End
  48. - entity: light
  49. translation_key: backlight
  50. category: config
  51. dps:
  52. - id: 7
  53. type: boolean
  54. name: switch
  55. - entity: switch
  56. name: Reverse
  57. icon: "mdi:arrow-u-down-left"
  58. category: config
  59. dps:
  60. - id: 8
  61. type: string
  62. name: switch
  63. mapping:
  64. - dps_val: forward
  65. value: false
  66. - dps_val: back
  67. value: true
  68. - entity: number
  69. name: Time control
  70. category: config
  71. class: duration
  72. icon: "mdi:timer"
  73. dps:
  74. - id: 10
  75. type: integer
  76. name: value
  77. unit: s
  78. range:
  79. min: 10
  80. max: 120