core/tests
Wim Haanstra 2f2952e0ec Openhardwaremonitor (#8056)
* Open Hardware Monitor sensor

Platform which is able to connect to the JSON API of Open Hardware Monitor and adds sensors for the devices.

* Remove copyright in header, not needed.

* - Removed old code
- Fixed typo’s in comments
- Removed log spamming
- Removed code that was unnecessary
- Use requests instead of urllib
- Moved sensor update functionality to data handler, to remove unwanted constructor parameters

* Fixed typo in comment
Added tests

* Added default fixture, to stabilize tests

* - Fix for values deeper than 4 levels, no longer relies on fixed level
- Fixed tests

* Removed timer in preference of helper methods

* Moved update functionality back to Entity….
Updated SCAN INTERVAL

* Added timeout to request
Removed retry when Open Hardware Monitor API is not reachable
Fixed naming of sensors
Flow optimalisations
Fixed tests to use states

* Remove unused import
2017-06-25 13:48:05 -07:00
..
components Openhardwaremonitor (#8056) 2017-06-25 13:48:05 -07:00
fixtures Openhardwaremonitor (#8056) 2017-06-25 13:48:05 -07:00
helpers Fix EntityComponent handle entities without a name (#8065) 2017-06-17 10:50:59 -07:00
mock Tests for zwave setup features (#7570) 2017-05-12 20:27:44 -07:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts Group service / dynamic handling (#7971) 2017-06-16 00:52:28 +02:00
test_util Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
testing_config Add Kira component to sensor and remote platforms (#7479) 2017-05-12 21:12:47 -07:00
util LIFX: clean up internal color conversions (#7964) 2017-06-11 21:19:58 +02:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Remove unnecessary thread_ident assignment (#8194) 2017-06-25 16:39:05 -04:00
conftest.py Abort tests when instances leaked (#7623) 2017-05-18 00:19:40 +02:00
test_bootstrap.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_config.py Start of migration framework, to allow moving of files in the config … (#7740) 2017-06-01 23:50:04 -07:00
test_core.py Bugfix wait on start event (#7013) 2017-04-11 09:09:31 -07:00
test_loader.py Bootstrap / Component setup async (#6264) 2017-02-28 20:33:19 -08:00
test_main.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_remote.py Remove deprecated remote classes (#7011) 2017-04-10 09:04:19 -07:00
test_setup.py Group service / dynamic handling (#7971) 2017-06-16 00:52:28 +02:00