Paulus Schoutsen
4b8bc90d16
Limit worker pool to 10 threads ( #3560 )
...
* Limit worker pool to 10 threads
* Comment evdev in requirements
* Allow skipping RFXtrx tests locally
* Fix worker pool size tests
* lol whut
2016-09-28 00:05:38 -07:00
Pascal Vizeli
bbfd86dec3
Use setup_component in tests v1 ( #3507 )
...
* update unittests like #3414
* setup_component - splunk
* setup_component - statsd
* fix statsd & splunk unittest config values
* component_setup - device_sun_light_trigger
* setup_component - introduction
* component_setup - persistent_notification
* setup_component - logentries, mqtt eventstream
* fix unittest logentries
2016-09-25 23:15:21 +02:00
Paulus Schoutsen
4076ccf639
Use setup_component in tests ( #3414 )
...
* Alarm Control Panel Manual - use setup_component
* Update automation - zone tests
* Update climate - demo tests
* Update climate - generic thermostat tests
* Update cover - command line tests
* Update cover - demo tests
* Update device tracker tests
* Update device tracker - owntracks tests
* Update fan - demo tests
* Update garage door - demo tests
* Update light tests
* Update lock - demo tests
* Update media player - demo tests
* Update notify - command line tests
* Update notify - demo tests
* Update notify - file tests
* Update notify - group tests
* Update sensor - mfi tests
* Update sensor - moldindicator tests
* Update sensor - mqtt room tests
* Update switch - command line
* Update switch - flux
* Update switch tests
* Update scene tests
* Fix wrong default port for mfi switch
2016-09-17 10:29:58 -07:00
Paulus Schoutsen
609d7ebea5
Migrate core from threads to async awesomeness ( #3248 )
...
* Add event loop to the core
* Add block_till_done to HA core object
* Fix some tests
* Linting core
* Fix statemachine tests
* Core test fixes
* fix block_till_done to wait for loop and queue to empty
* fix test_core for passing, and correct start/stop/block_till_done
* Fix remote tests
* Fix tests: block_till_done
* Fix linting
* Fix more tests
* Fix final linting
* Fix remote test
* remove unnecessary import
* reduce sleep to avoid slowing down the tests excessively
* fix remaining tests to wait for non-threadsafe operations
* Add async_ doc strings for event loop / coroutine info
* Fix command line test to block for the right timeout
* Fix py3.4.2 loop var access
* Fix SERVICE_CALL_LIMIT being in effect for other tests
* Fix lint errors
* Fix lint error with proper placement
* Fix slave start to not start a timer
* Add asyncio compatible listeners.
* Increase min Python version to 3.4.2
* Move async backports to util
* Add backported async tests
* Fix linting
* Simplify Python version check
* Fix lint
* Remove unneeded try/except and queue listener appproriately.
* Fix tuple vs. list unorderable error on version compare.
* Fix version tests
2016-09-12 19:16:14 -07:00
Fabian Affolter
3c615e2319
Use voluptuous for mFi switch ( #3168 )
...
* Migrate to voluptuous
* Take change configuration into account
2016-09-03 20:32:35 -06:00
Fabian Affolter
40c71b5d96
Use voluptuous for Command line platforms ( #2968 )
...
* Migrate to voluptuous
* Fix pylint issues
* Remove FIXME
* Split setup test
* Test with bootstrap
* Remove lon and lat
* Fix pylint issues
2016-09-02 08:09:09 -06:00
Greg Dowling
eac67fd971
Add voluptuous to template switch ( #2940 )
...
* Add voluptuous to template switch / revise tests.
2016-08-23 00:05:45 +02:00
Teagan Glenn
915b9cb3eb
Fix pydoc strings
2016-08-08 20:19:56 -06:00
Daniel Høyer Iversen
23472cb44d
Handle numeric device id for rfxtrx devices ( #2740 )
2016-08-07 17:15:39 -07:00
HBDK
a73c2e57a8
Added mired and kelvin mode to flux ( #2665 )
...
* Added mired and kelvin mode to flux
* changed as requested
* Renamed varible
* attempt to add test for new method in flux.py
* removed line to fix lint error
2016-07-31 16:55:48 -07:00
Paulus Schoutsen
f1632496f0
Allow circular dependency with discovery ( #2616 )
2016-07-25 22:49:10 -07:00
Daniel
98550b5465
rfxtrx light tests
2016-07-17 11:14:29 +02:00
Daniel
034f1b9499
rfxtrx switch tests
2016-07-17 10:27:27 +02:00
Daniel Høyer Iversen
09a4336bc5
Fix bug in rfxtrx for int device id ( #2497 )
2016-07-12 01:45:22 -07:00
Jacob Tomlinson
ca7415e935
Added rfxtrx rollershutter ( #2030 )
...
* Added rfxtrx rollershutter
* Updated mock command with real one
* Corrected test string
2016-06-02 00:39:58 -07:00
Nolan Gilley
24d2eaa6ca
flux platform as a switch ( #2097 )
...
* flux platform as a switch
* use track_time_change. broken :(
* use track_utc_time_change instead of track_time_change
* add some basic tests
* use brightness from RGB_to_xy
* config_schema validation
* back to platform schema. what was i doing?
* more broken tests :(
* 644
* fix some time bugs
* add working tests. config validation still not right
* bug fixes and more test cases.
2016-06-01 23:38:19 -07:00
Daniel
2ca1f7542f
Refactor rfxtrx code
2016-04-24 13:42:59 +02:00
Daniel
55b51cb3fa
Update rfxtrx tests to handle new config
2016-04-23 20:13:24 +02:00
Daniel Høyer Iversen
cac555fc69
Rfxtrx config validating ( #1747 )
...
* config validation
* Config validation of rfxtrx switch
* Config validation of rfxtrx light
* Config validation of rfxtrx
* Config validation of rfxtrx
2016-04-08 20:55:31 -07:00
Jan Harkes
deecec5e4e
Config validation for MQTT switch platform.
2016-04-06 22:51:39 -04:00
William Scanlon
a64726e321
Added assumed state to command_line switch
2016-03-17 10:41:26 -04:00
Daniel
d6344d6492
Fixed close connection issue with rfxtrx device and update rfxtrx lib
2016-03-14 08:33:59 +01:00
Paulus Schoutsen
025713ee41
Type checks for MQTT config
2016-03-10 21:42:17 -08:00
Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
1159360281
Skip rfxtrx tests because of speed reasons
2016-03-05 09:28:47 -08:00
Daniel
2fd0b28c53
Added tests for RFxtrx device, updated rfxtrx to ver 0.5, fixed bug in setting brightness for rfxtrx light
2016-03-02 20:36:41 +01:00
Paulus Schoutsen
be55ee059e
Make names command line platform consistent
2016-02-27 15:56:35 -08:00
Paulus Schoutsen
443b39bccd
MQTT Switch to expose assumed_state if optimistic
2016-02-20 17:17:30 -08:00
Paulus Schoutsen
09ab3e95c0
Tests should all use test HA
2016-02-14 15:08:23 -08:00
Fabian Affolter
00afaac54c
Update for file header, docstrings, and PEP8/PEP257
2016-02-13 14:19:11 +01:00
Dan Smith
b17df44402
Add tests for mFi switches
2016-02-09 03:03:26 +00:00
pavoni
2622cf2e53
Use available, remove state, improve true,false tests.
2016-02-05 11:18:50 +00:00
pavoni
5521096c02
Add actions.
2016-02-03 14:29:25 +00:00
pavoni
9a9dbcfaea
Refactor, support template logic values, add tests.
2016-02-03 13:16:13 +00:00
pavoni
a955f3db08
WIP commit - template state working, on / off still to do.
2016-02-02 19:25:17 +00:00
happyleaves
e9059a3ed9
added test; addressed comments
2015-12-27 22:51:37 -05:00
Paulus Schoutsen
9a9ecb5916
Migrate MQTT from jsonpath to templates
2015-12-10 21:39:01 -08:00
Pascal Bach
341c3a8fcd
Fix tests for mqtt publish with retain.
2015-11-26 21:03:21 +01:00
Oliver van Porten
427944cc44
add test for mqtt+json switch
2015-11-20 23:50:46 +01:00
Paulus Schoutsen
d35f5b9f97
Tests for MQTT sensor/switch
2015-10-02 23:57:26 -07:00