name: Power clamp meter
products:
  - id: r64livttuufctble
    name: PC321-TY
  - id: 9rjjf6rdkca9woju
    name: PC321-TY 80A
primary_entity:
  entity: sensor
  class: energy
  dps:
    - id: 131
      type: integer
      name: sensor
      mapping:
        - scale: 100
      unit: kWh
      class: total_increasing
secondary_entities:
  - entity: sensor
    category: diagnostic
    name: Voltage A
    class: voltage
    dps:
      - id: 101
        name: sensor
        type: integer
        unit: V
        class: measurement
        force: true
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current A
    dps:
      - id: 102
        name: sensor
        type: integer
        unit: A
        class: measurement
        force: true
        mapping:
          - scale: 1000
  - entity: sensor
    category: diagnostic
    class: power
    name: Power A
    dps:
      - id: 103
        name: sensor
        type: integer
        unit: W
        force: true
        class: measurement
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor A
    dps:
      - id: 104
        name: sensor
        type: integer
        class: measurement
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Energy A
    dps:
      - id: 106
        name: sensor
        type: integer
        unit: kWh
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Voltage B
    class: voltage
    dps:
      - id: 111
        name: sensor
        type: integer
        unit: V
        class: measurement
        force: true
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current B
    dps:
      - id: 112
        name: sensor
        type: integer
        unit: A
        class: measurement
        force: true
        mapping:
          - scale: 1000
  - entity: sensor
    category: diagnostic
    class: power
    name: Power B
    dps:
      - id: 113
        name: sensor
        type: integer
        force: true
        unit: W
        class: measurement
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor B
    dps:
      - id: 114
        name: sensor
        type: integer
        class: measurement
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Energy B
    dps:
      - id: 116
        name: sensor
        type: integer
        unit: kWh
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Voltage C
    class: voltage
    dps:
      - id: 121
        name: sensor
        type: integer
        unit: V
        class: measurement
        force: true
        mapping:
          - scale: 10
  - entity: sensor
    category: diagnostic
    class: current
    name: Current C
    dps:
      - id: 122
        name: sensor
        type: integer
        unit: A
        class: measurement
        force: true
        mapping:
          - scale: 1000
  - entity: sensor
    category: diagnostic
    class: power
    name: Power C
    dps:
      - id: 123
        name: sensor
        type: integer
        force: true
        class: measurement
        unit: W
  - entity: sensor
    category: diagnostic
    class: power_factor
    name: Power factor C
    dps:
      - id: 124
        name: sensor
        type: integer
        class: measurement
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    name: Energy C
    dps:
      - id: 126
        name: sensor
        type: integer
        unit: kWh
        mapping:
          - scale: 100
  - entity: sensor
    category: diagnostic
    class: current
    name: Total current
    dps:
      - id: 132
        type: integer
        name: sensor
        unit: A
        class: measurement
        force: true
        mapping:
          - scale: 1000
  - entity: sensor
    category: diagnostic
    class: power
    name: Total active power
    dps:
      - id: 133
        type: integer
        name: sensor
        unit: W
        force: true
        class: measurement
  - entity: sensor
    category: diagnostic
    class: frequency
    dps:
      - id: 135
        type: integer
        name: sensor
        unit: Hz
        class: measurement
  - entity: sensor
    category: diagnostic
    class: temperature
    dps:
      - id: 136
        type: integer
        name: sensor
        unit: C
        class: measurement
        mapping:
          - scale: 10
