avatto_roller_blinds.yaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. name: Avatto roller blinds
  2. products:
  3. - id: 3r8gc33pnqsxfe1g
  4. primary_entity:
  5. entity: cover
  6. class: blind
  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. range:
  22. min: 0
  23. max: 100
  24. - id: 3
  25. name: current_position
  26. type: integer
  27. unit: "%"
  28. optional: true
  29. persist: false
  30. - id: 5
  31. name: control_back_mode
  32. type: boolean
  33. - id: 7
  34. name: action
  35. type: string
  36. mapping:
  37. - dps_val: opening
  38. constraint: current_position
  39. conditions:
  40. - dps_val: 100
  41. value: opened
  42. - dps_val: null
  43. value: opened
  44. - value: opening
  45. - dps_val: closing
  46. constraint: current_position
  47. conditions:
  48. - dps_val: 0
  49. value: closed
  50. - dps_val: null
  51. value: closed
  52. - value: closing
  53. secondary_entities:
  54. - entity: select
  55. name: Timer
  56. icon: "mdi:timer"
  57. category: config
  58. dps:
  59. - id: 8
  60. name: option
  61. type: string
  62. mapping:
  63. - dps_val: cancel
  64. value: "Off"
  65. - dps_val: "1"
  66. value: "1 hour"
  67. - dps_val: "2"
  68. value: "2 hours"
  69. - dps_val: "3"
  70. value: "3 hours"
  71. - dps_val: "4"
  72. value: "4 hours"
  73. - entity: sensor
  74. name: Timer
  75. icon: "mdi:timer"
  76. class: duration
  77. category: diagnostic
  78. dps:
  79. - id: 9
  80. name: sensor
  81. type: integer
  82. optional: true
  83. unit: s
  84. - entity: sensor
  85. name: Travel time
  86. icon: "mdi:hourglass"
  87. category: diagnostic
  88. dps:
  89. - id: 11
  90. name: sensor
  91. type: integer
  92. unit: ms