description: >
  A COV on percentage change rule example.

metadata:
  name: COV on percentage change

resources:
  mapping:
    type: Cybus::Mapping
    properties:
      mappings:
        - subscribe:
            topic: 'machine/sensor/raw'
          publish:
            topic: 'machine/sensor/changed'
          rules:
            - cov:
                key: temperature
                deadband: 10
                deadbandMode: relative
