Chris Talkington
bc89b63fc6
Add switch to control downloads for nzbget ( #40673 )
...
* add switch to control downloads for nzbget
* work on switch
* Update test_config_flow.py
* Update test_sensor.py
2020-09-28 20:14:49 -05:00
Chris Talkington
74219663d6
Fix nzbget sensors ( #39833 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-09 14:56:40 +02:00
Chris Talkington
863c7414bc
Implement code review for nzbget ( #39425 )
...
* implement code review for nzbget
* Update strings.json
* Update sensor.py
* Update config_flow.py
* Update sensor.py
* Update config_flow.py
* Update config_flow.py
* Update config_flow.py
2020-08-30 13:59:15 -05:00
Chris Talkington
7469f57a7b
Add config flow to nzbget ( #38938 )
...
* work on config flow
* Update test_init.py
* work on config flow
* Update test_config_flow.py
* Update test_config_flow.py
* Update __init__.py
* Update test_config_flow.py
* Update __init__.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Update __init__.py
* Update __init__.py
* Create coordinator.py
* Update __init__.py
* Update sensor.py
* Update __init__.py
* Update .coveragerc
* Update coordinator.py
* Update __init__.py
* Update coordinator.py
* Update __init__.py
* Update coordinator.py
* Update config_flow.py
* Update __init__.py
* Update coordinator.py
* Update __init__.py
* Update test_config_flow.py
* Update coordinator.py
* Update test_config_flow.py
* Update test_init.py
* Update homeassistant/components/nzbget/coordinator.py
* Update test_config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-29 16:47:00 -05:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ( #33510 )
...
* Unsub dispatcher when removing entity from hass
* Update homeassistant/components/plaato/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/volvooncall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ( #31781 )
...
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Alex van den Hoogen
fe626f5669
Add Post Processing Jobs to NZBGet component ( #29027 )
...
* Added Post Processing Jobs to NZBGet component
In the current implementation of the NZBGet component there is no way of
knowing whether NZBGet is still in the Post Processing phase of a download
job. This can be very useful information. For instance when you want to
suspend the NZBGet service when all queue items have been completed.
This change adds that additional sensor.
* Renamed Count to Jobs in NZBGet component
2019-11-26 11:31:20 -08:00
chriscla
6cbc9d6abb
Fixing nzbget units display ( #27521 )
2019-10-12 20:18:30 -07:00
chriscla
57833f5b1e
Refactor nzbget to support future platform changes ( #26462 )
...
* Re-factor nzbget platform to enable future features.
* Re-factor nzbget platform to enable future features.
* Re-factor nzbget platform to enable future features.
* Re-factor nzbget platform to enable future features.
* Use pynzbgetapi instead of raw HTTP requests
* Using pynzbgetapi
* Pinning pynzbgetapi version.
* Requiring pynzbgetapi 0.2.0
* Addressing review comments
* Refreshing requirements (adding pynzbgetapi)
* Remove period from logging message
* Updating requirements file
* Add nzbget init to .coveragerc
* Adding nzbget codeowner
* Updating codeowners file
2019-09-15 02:44:19 +02:00
Franck Nijhof
1c5e0123c9
Use literal string interpolation in integrations N-Q (f-strings) ( #26391 )
2019-09-03 11:35:00 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00