name: Dual switch
products:
  - id: LOeuvI6KCxzuZe0k
    model: WF-WS02 RJ
entities:
  - entity: switch
    name: Master
    class: switch
    category: config
    dps:
      - id: 5
        type: integer
        name: switch
        mapping:
          - dps_val: 1
            value: true
          - dps_val: 0
            value: false
  - entity: switch
    translation_key: switch_x
    translation_placeholders:
      x: "1"
    class: switch
    dps:
      - id: 1
        type: boolean
        name: switch
  - entity: switch
    translation_key: switch_x
    translation_placeholders:
      x: "2"
    class: switch
    dps:
      - id: 2
        type: boolean
        name: switch
