salt.beacons.adb module

Beacon to emit adb device state changes for Android devices

2016.3.0 新版功能.

salt.beacons.adb.beacon(config)

Emit the status of all devices returned by adb

Specify the device states that should emit an event, there will be an event for each device with the event type and device specified.

beacons:
  adb:
    - states:
        - offline
        - unauthorized
        - missing
    - no_devices_event: True
    - battery_low: 25
salt.beacons.adb.validate(config)

Validate the beacon configuration