avatto_curtain_light.yaml 1.5 KB

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