agl_ultracontato.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. name: AGL Ultracontato R2
  2. primary_entity:
  3. entity: cover
  4. class: door
  5. dps:
  6. - id: 1
  7. name: control
  8. type: boolean
  9. mapping:
  10. - dps_val: true
  11. value: "open"
  12. - dps_val: false
  13. value: "close"
  14. - id: 101
  15. name: open
  16. type: boolean
  17. secondary_entities:
  18. - entity: select
  19. name: Switch type
  20. category: config
  21. icon: "mdi:electric-switch-closed"
  22. dps:
  23. - id: 108
  24. type: string
  25. name: option
  26. mapping:
  27. - dps_val: "NA"
  28. value: Normally open
  29. - dps_val: "NF"
  30. value: Normally closed
  31. - entity: select
  32. category: config
  33. name: Pulse type
  34. icon: "mdi:pulse"
  35. dps:
  36. - id: 109
  37. name: option
  38. type: string
  39. mapping:
  40. - dps_val: "Pulsado"
  41. value: Pulsed
  42. - dps_val: "Retencao"
  43. value: Continuous
  44. - dps_val: "ONOFF"
  45. value: On - Off
  46. - entity: select
  47. category: config
  48. name: Auto close
  49. icon: "mdi:door-closed"
  50. dps:
  51. - id: 103
  52. name: option
  53. type: string
  54. mapping:
  55. - dps_val: "habilitado"
  56. value: Enabled
  57. - dps_val: "desabilitado"
  58. value: Disabled
  59. - entity: number
  60. category: config
  61. name: Unlock duration
  62. icon: "mdi:lock-clock"
  63. dps:
  64. - id: 107
  65. name: value
  66. type: integer
  67. range:
  68. min: 1
  69. max: 65
  70. unit: s
  71. - entity: binary_sensor
  72. name: Door opened
  73. category: diagnostic
  74. dps:
  75. - id: 111
  76. type: boolean
  77. name: sensor
  78. - entity: binary_sensor
  79. name: Door closed
  80. category: diagnostic
  81. dps:
  82. - id: 112
  83. type: boolean
  84. name: sensor