name: Motion sensor
products:
  - id: p0y7ucexietpcqlq
    manufacturer: Mirabella Genio
entities:
  - entity: binary_sensor
    class: motion
    dps:
      - id: 101
        type: string
        name: sensor
        mapping:
          - dps_val: pir
            value: true
          - dps_val: "none"
            value: false
  - entity: sensor
    class: battery
    dps:
      - id: 103
        type: integer
        name: sensor
        unit: "%"
  - entity: binary_sensor
    name: Tamper alarm
    class: tamper
    dps:
      - id: 104
        type: boolean
        name: sensor
