# Based on info on the web, this is a common subset of Garage door opener dps.
name: Simple garage-door-gate opener
products:
  - id: b1uk4ftduaqopxv1
    name: Garage-door-gate opener
primary_entity:
  entity: cover
  class: gate
  dps:
    - id: 1
      name: control
      type: boolean
      force: true
      mapping:
        - dps_val: true
          value: "open"
        - dps_val: false
          value: "close"
    - id: 101
      name: open
      type: boolean
secondary_entities:
  - entity: number
    category: config
    translation_key: timer
    dps:
      - id: 7
        type: integer
        optional: true
        name: value
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
          - dps_val: null
