avatto_roller_blinds.yaml 1.9 KB

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