name: Dual water timer
products:
  - id: r6ya07uz
    name: Diivoo DWV010
primary_entity:
  entity: valve
  class: water
  name: Valve 1
  dps:
    - id: 1
      type: boolean
      name: valve
    - id: 12
      type: string
      name: operation
secondary_entities:
  - entity: valve
    class: water
    name: Valve 2
    dps:
      - id: 121
        type: boolean
        name: valve
      - id: 126
        type: string
        name: operation
  - entity: sensor
    name: Water use
    class: volume
    category: diagnostic
    dps:
      - id: 112
        type: integer
        name: sensor
        unit: "l"
  - entity: sensor
    class: battery
    category: diagnostic
    dps:
      - id: 7
        type: integer
        name: sensor
        unit: "%"
  - entity: select
    name: Weather delay 1
    icon: "mdi:weather-cloudy-clock"
    category: config
    dps:
      - id: 10
        type: string
        name: option
        mapping:
          - dps_val: "OFF"
            value: "Off"
          - dps_val: "1"
            value: "1 day"
          - dps_val: "2"
            value: "2 days"
          - dps_val: "3"
            value: "3 days"
          - dps_val: "3"
            value: "4 days"
          - dps_val: "5"
            value: "5 days"
          - dps_val: "6"
            value: "6 days"
          - dps_val: "7"
            value: "7 days"
  - entity: select
    name: Weather delay 2
    icon: "mdi:weather-cloudy-clock"
    category: config
    dps:
      - id: 124
        type: string
        name: option
        mapping:
          - dps_val: "OFF"
            value: "Off"
          - dps_val: "1"
            value: "1 day"
          - dps_val: "2"
            value: "2 days"
          - dps_val: "3"
            value: "3 days"
          - dps_val: "3"
            value: "4 days"
          - dps_val: "5"
            value: "5 days"
          - dps_val: "6"
            value: "6 days"
          - dps_val: "7"
            value: "7 days"
