Pipeline is executed for measurement: battery: The device battery is low
Pipeline processing steps:
- Create notification DEVICE_LOW_BATTERY: Low battery. Notification is created as level: alarm. Levels: ‘alarm’=red, ‘warning’=yellow, info=‘grey’ Notification is valid 1209600 seconds. After that notification is automatically acknowledged.
- Stop pipeline execution if there is already 2 notifications within seconds. Notifications must be created from same device: true,
- Save notification to database.