dongguan_garage_door_opener.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Dongguan Pinjia Technology Co., Door Controller, PJ-WGDOOR01
  2. # Tuya Smart Life WiFi Motorized Swing Gate Sliding Gate Opener Dry Contact
  3. # 110V 240V Voice Control with Alexa Google Home
  4. # https://www.aliexpress.com/item/1005003913566298.html
  5. name: WiFi garage opener
  6. products:
  7. - id: 1wwbzczt9hrtwqjr
  8. name: Dongguan garage door
  9. model: PJ-WGDOOR01
  10. primary_entity:
  11. entity: cover
  12. class: garage
  13. dps:
  14. - id: 1
  15. type: boolean
  16. name: control
  17. optional: true # Sometimes this DP doesn't report state
  18. mapping:
  19. - dps_val: true
  20. value: open
  21. - dps_val: false
  22. value: close
  23. - id: 3
  24. type: boolean
  25. name: action
  26. mapping:
  27. - dps_val: true
  28. value: opened
  29. - dps_val: false
  30. value: closed
  31. secondary_entities:
  32. - entity: number
  33. name: Countdown
  34. icon: mdi:timer-lock
  35. category: config
  36. dps:
  37. - id: 2
  38. <<: &timer
  39. type: integer
  40. name: value
  41. unit: s
  42. range:
  43. min: 0
  44. max: 86400
  45. - entity: number
  46. name: Run times
  47. icon: mdi:timer
  48. category: config
  49. dps:
  50. - id: 4
  51. type: integer
  52. name: value
  53. unit: s
  54. range:
  55. min: 10
  56. max: 120
  57. - entity: number
  58. name: Timeout alarm
  59. icon: mdi:timer-alert
  60. category: config
  61. dps:
  62. - id: 5
  63. <<: *timer
  64. - entity: sensor
  65. name: Fault
  66. icon: mdi:alert
  67. dps:
  68. - id: 12
  69. type: string
  70. name: sensor
  71. optional: true # Sometimes doesn't report state