Paulus Schoutsen
2e79e9d5bb
Correct celcius to celsius ( #1860 )
2016-04-19 20:30:44 -07:00
Daniel Høyer Iversen
769d958464
Config validation for rfxtrx sensor ( #1780 )
2016-04-10 16:05:32 -07:00
Daniel Høyer Iversen
d3493c7e5a
Config validation of yr sensor ( #1767 )
2016-04-10 10:43:05 -07:00
Jan Harkes
eb3f812e38
Config validation for MQTT sensor platform.
2016-04-06 22:51:39 -04:00
Paulus Schoutsen
b063fa3165
Merge pull request #1646 from balloob/rfxtrx
...
Fixed bug in rfxtrx sensor
2016-03-31 22:12:04 -07:00
Daniel
c4062bf6ea
Fixed bug in rfxtrx sensor
2016-03-30 10:57:26 +02:00
Paulus Schoutsen
41f205e09d
Clean up template platforms
2016-03-24 23:22:17 -07:00
Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
41214fd082
TCP test to work offline
2016-03-05 09:27:22 -08:00
Paulus Schoutsen
d641cd5eef
Merge pull request #1452 from balloob/rfxtrx_tests
...
Added tests for rfxtrx sensor
2016-03-01 08:07:21 -08:00
Daniel
6c518c74ec
Added tests for rfxtrx sensor
2016-03-01 10:14:02 +01:00
Dan Smith
be04ebf9ed
Give mFi options to control TLS usage
...
The default configuration of the mFi controller generates self-signed
certificates which are valid for short periods of time, and which are
regnerated on start or as needed. This makes requests mad. Since most
people will be using the self-signed certificates anyway, add options
to let them choose non-TLS, or unverified connections if they want/need.
This bumps the mficlient requirement to 0.3.0 for proper handling of
verify=False.
2016-02-29 17:37:41 -08:00
Paulus Schoutsen
be55ee059e
Make names command line platform consistent
2016-02-27 15:56:35 -08:00
Dan Smith
37e5b98919
Fix mFi error handling in setup_platform
...
The exception we were catching incorrectly referenced the client variable
in local scope instead of the module. Also, if we fail to connect we can
get a requests exception, so catch and handle that as well.
2016-02-25 15:52:13 -08:00
Flyte
8840461af3
Bring TCP component test coverage to 100%
2016-02-24 13:28:39 +00:00
Flyte
4e6b755b26
Add tests for TCP component.
2016-02-19 17:41:51 +00:00
Paulus Schoutsen
09ab3e95c0
Tests should all use test HA
2016-02-14 15:08:23 -08:00
Paulus Schoutsen
bade0e0d71
Make tests pass flake8
2016-02-14 13:07:21 -08:00
Fabian Affolter
00afaac54c
Update for file header, docstrings, and PEP8/PEP257
2016-02-13 14:19:11 +01:00
Dan Smith
895ddc8433
Add tests for mFi sensors
...
Note that some of the indirection here is so that I can reuse
a few things for mFi switch tests to follow.
2016-02-09 02:59:34 +00:00
pavoni
93a38d39ef
Add test for missimng attributes.
2016-02-02 14:15:06 +00:00
pavoni
7c1241c1f8
Add another test, revise another. Improve coverage.
2016-02-01 18:30:39 +00:00
pavoni
d54e10e54a
Improve test coverage of error conditions.
2016-02-01 18:18:51 +00:00
Daniel
5005b20122
Added and fixed yr tests
2016-02-01 15:50:17 +01:00
Ryan Kraus
2d0004f46a
Another test for for command sensor
...
Added a test for command sensors with bad configurations.
2016-01-30 22:16:22 -05:00
Ryan Kraus
6a08f14120
Additional tests for Command Sensor.
...
1. Moved template testing out of main test.
2. Added test for bad command.
2016-01-30 22:13:42 -05:00
Ryan Kraus
97e867052d
Added tests for command sensor
...
Added tests to create and check basic functionality of command sensor.
2016-01-30 22:01:10 -05:00
pavoni
ad62591f43
Change error state to be 'error' rather than 'unknown', trace error.
2016-01-22 16:30:02 +00:00
pavoni
b1f7b5c6d7
Tidy, add test for ValueException logic.
2016-01-22 09:37:20 +00:00
pavoni
c615272c06
Tidy.
2016-01-21 23:17:19 +00:00
pavoni
92afcae9be
Add test.
2016-01-21 18:31:44 +00:00
Philip Lundrigan
3db6faab4d
Fix yr test
2016-01-08 13:30:16 -07:00
Paulus Schoutsen
c1eaf60461
VCR YR sensor test
2015-12-27 17:37:32 -08:00
Paulus Schoutsen
ab5a3f9de3
Clean up YR sensor
2015-12-27 11:07:25 -08:00
Paulus Schoutsen
d191635fd8
Merge branch 'yr_no' into dev
2015-12-22 18:53:27 -08:00
Paulus Schoutsen
9a9ecb5916
Migrate MQTT from jsonpath to templates
2015-12-10 21:39:01 -08:00
Daniel Hoyer Iversen
71bf707bcf
fix tests in yr sensor
2015-12-02 13:32:52 +01:00
Daniel Hoyer Iversen
ff15fea9f8
Added units to sensor yr
2015-12-01 13:31:55 +01:00
Daniel Hoyer Iversen
2dc9bc98f7
Tests for yr sensor
2015-12-01 13:24:03 +01:00
Oliver van Porten
427944cc44
add test for mqtt+json switch
2015-11-20 23:50:46 +01:00
Oliver van Porten
820b2a31b3
Add additional unit tests for mqtt state format parsing
2015-11-20 23:47:21 +01:00
Paulus Schoutsen
d35f5b9f97
Tests for MQTT sensor/switch
2015-10-02 23:57:26 -07:00