Justyn Shull c232242af0 Add support for monitoring nzbget
Calculate average download rate the same way as downloadrate



Add config option for choosing which nzbget variables to monitor, and provide a default



Pep8 fixes



Refactoring and changes based on @balloob's comments



Add nzbget.py to .coveragerc omit list.  Check if there are any http

errors (like bad auth) when creating the nzbgetapi class.   If there

are, the setup_platform() function will return false.  Exceptions are

logged as well.

When a new sensor is created, assign the initial value from the api

instead of simply using None until the first update call.
2016-04-03 15:57:50 -07:00
..
2016-03-28 23:46:12 -07:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-24 12:38:18 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-09 23:34:38 -08:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-24 16:42:25 +01:00
2016-03-15 23:52:55 +01:00
2016-03-26 18:55:49 -07:00
2016-03-08 16:46:34 +01:00
2016-04-02 08:47:21 -07:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-04-03 15:57:50 -07:00
2016-03-08 16:46:34 +01:00
2016-03-26 12:50:12 +01:00
2016-03-08 16:46:34 +01:00
2016-03-30 10:57:26 +02:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-23 22:44:05 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-24 23:22:17 -07:00
2016-03-08 16:46:34 +01:00
2016-03-09 23:34:38 -08:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-16 09:03:56 +00:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00
2016-03-08 16:46:34 +01:00