name: Valve controller
products:
  - id: nguto5atyd2xxnap
    name: ARD-100+ smart valve controller
primary_entity:
  entity: valve
  dps:
    - id: 1
      type: boolean
      name: valve
secondary_entities:
  - entity: switch
    icon: "mdi:valve"
    deprecated: valve
    category: config
    dps:
      - id: 1
        type: boolean
        name: switch
  - entity: number
    translation_key: timer
    category: config
    dps:
      - id: 7
        name: value
        type: integer
        range:
          min: 0
          max: 86400
        unit: sec
        mapping:
          - scale: 1
          - dps_val: null
  - entity: select
    translation_key: initial_state
    category: config
    dps:
      - id: 14
        type: string
        name: option
        mapping:
          - dps_val: "off"
            value: "off"
          - dps_val: "on"
            value: "on"
          - dps_val: memory
            value: memory
