name: Two outlet two USB smartplug
products:
  - id: cianx1tz1ifyvyqm
    model: Surge protector plug 2x2
entities:
  - entity: switch
    class: outlet
    translation_key: outlet_x
    translation_placeholders:
      x: "1"
    dps:
      - id: 1
        name: switch
        type: boolean
  - entity: switch
    class: outlet
    translation_key: outlet_x
    translation_placeholders:
      x: "2"
    dps:
      - id: 2
        name: switch
        type: boolean
  - entity: switch
    name: USB 1
    dps:
      - id: 7
        name: switch
        type: boolean
  - entity: switch
    name: USB 2
    dps:
      - id: 8
        name: switch
        type: boolean
  - entity: time
    translation_key: timer_x
    translation_placeholders:
      x: "1"
    category: config
    dps:
      - id: 9
        name: second
        type: integer
        range:
          min: 0
          max: 86400
  - entity: time
    translation_key: timer_x
    translation_placeholders:
      x: "2"
    category: config
    dps:
      - id: 10
        name: second
        type: integer
        range:
          min: 0
          max: 86400
  - entity: time
    translation_key: timer_x
    translation_placeholders:
      x: "USB 1"
    category: config
    dps:
      - id: 15
        name: second
        type: integer
        range:
          min: 0
          max: 86400
  - entity: time
    translation_key: timer_x
    translation_placeholders:
      x: "USB 2"
    category: config
    dps:
      - id: 16
        name: second
        type: integer
        range:
          min: 0
          max: 86400
