-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bark - add critical level alert plus ?volume= argument (#1239)
- Loading branch information
1 parent
c49e212
commit e9020e6
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,30 @@ | |
# active level | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical', { | ||
# critical level | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=10', { | ||
# critical level with volume 10 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=invalid', { | ||
# critical level with invalid volume | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=11', { | ||
# volume > 10 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=-1', { | ||
# volume < 0 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=', { | ||
# volume None | ||
'instance': NotifyBark, | ||
}), | ||
('bark://user:[email protected]:8086/device_key/device_key2/', { | ||
# Everything is okay | ||
'instance': NotifyBark, | ||
|