avatto_roller_blinds.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. value: opening
  39. constraint: current_position
  40. conditions:
  41. - dps_val: 100
  42. value: opened
  43. - dps_val: null
  44. value: opened
  45. - dps_val: closing
  46. value: closing
  47. constraint: current_position
  48. conditions:
  49. - dps_val: 0
  50. value: closed
  51. - dps_val: null
  52. value: closed
  53. secondary_entities:
  54. - entity: select
  55. translation_key: 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. translation_key: time_remaining
  74. class: duration
  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