avatto_curtain_light.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. name: Avatto Curtain and Light
  2. products:
  3. - id: v59tpvs4ubvjalhq
  4. name: Avatto CB3S
  5. primary_entity:
  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. secondary_entities:
  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. 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