name: Remote control
products:
  - id: fsiepnrh
    name: Nedis ZBRC10WT
primary_entity:
  entity: event
  name: Button 0
  class: button
  dps:
    - id: 29
      type: string
      name: event
      optional: true
      mapping:
        - dps_val: null
          value: null
        - value: pressed
    - id: 29
      type: string
      name: code
secondary_entities:
  - entity: event
    name: Button 1
    class: button
    dps:
      - id: 27
        type: string
        name: event
        optional: true
        mapping:
          - dps_val: null
            value: null
          - value: pressed
      - id: 27
        type: string
        name: code
  - entity: event
    name: Button A
    class: button
    dps:
      - id: 28
        type: string
        name: event
        optional: true
        mapping:
          - dps_val: null
            value: null
          - value: pressed
      - id: 28
        type: string
        name: code
  - entity: event
    name: Button B
    class: button
    dps:
      - id: 26
        type: string
        name: event
        optional: true
        mapping:
          - dps_val: null
            value: null
          - value: pressed
      - id: 26
        type: string
        name: code
  - entity: sensor
    class: battery
    category: diagnostic
    dps:
      - id: 3
        type: integer
        name: sensor
        unit: "%"
        class: measurement
