cgtobi
be5f0fb3ac
Add hddtemp sensor device even if unreachable. ( #10623 )
...
* Add hddtemp sensor device even if unreachable.
* Removed old commented code.
* Move unit detection logic into update.
2017-11-17 09:21:27 -05:00
Fabian Affolter
6d94c121a7
Move constant to 'const.py' ( #10249 )
2017-10-31 13:31:12 +01:00
cgtobi
20a1a52bd5
Add unit test for hddtemp sensor. ( #10154 )
...
* Add unit test for hddtemp sensor.
* Remove sample fixture and include it in the code.
* Add test to raise coverage.
* Fix bug when host is not reachable.
* Minor code cleanups.
* More code cleanups.
2017-10-29 11:53:53 +01:00
cgtobi
789929d445
Add support for multiple disks to be monitored. ( #9977 )
...
* Add support for multiple disks.
* Fix LINT error.
* Make disk config optional to not break existing installations.
* Change state handling as per request by @fabaff.
2017-10-21 20:45:53 +02:00
Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07:00
Fabian Affolter
760138ac52
Do not call update() in constructor ( #7917 )
2017-06-05 21:28:13 +02:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Fabian Affolter
87764a51ba
Use device_state_attributes() for platforms ( #5649 )
...
* Use device_state_attributes() for platforms
* Update test
* Fix lint issue
2017-01-30 16:16:49 +01:00
Fabian Affolter
c128919b5f
Remove globally disabled pylint warnings ( #4204 )
2016-11-03 18:40:43 -07:00
Fabian Affolter
bf92aedd38
Add hddtemp sensor ( #4092 )
2016-10-28 19:06:24 -07:00