Paulus Schoutsen
60f40800c4
Use mock HA for locative tests
2016-01-12 21:56:09 -08:00
Moonshot
8ace656657
Create mqtt eventstream component
2016-01-12 22:56:26 -05:00
Paulus Schoutsen
825c91f0c3
Add calling service functionality to Alexa
2016-01-08 18:54:28 -08:00
Philip Lundrigan
3db6faab4d
Fix yr test
2016-01-08 13:30:16 -07:00
Paulus Schoutsen
8983a97c70
Fix calling turn_on for groups with mixed content
2016-01-03 21:25:15 -08:00
Philip Lundrigan
c9ff0ab7eb
Fix for sun if condition
2016-01-03 01:03:53 -07:00
happyleavesaoc
9e83a80215
Merge pull request #788 from happyleavesaoc/command_switch_state
...
add statecmd to command_switch
2015-12-31 18:43:02 -05:00
Philip Lundrigan
326e26fbeb
Merge pull request #825 from philipbl/locative
...
Update Locative component
2015-12-31 13:10:11 -07:00
Philip Lundrigan
ce152e9c94
Simplify logic
2015-12-31 12:39:36 -07:00
Philip Lundrigan
1bcca8cba1
Fix problem with test
2015-12-31 11:56:27 -07:00
Philip Lundrigan
55d1ad94ef
Add tests for Locative
2015-12-31 11:56:27 -07:00
happyleaves
e9059a3ed9
added test; addressed comments
2015-12-27 22:51:37 -05:00
Paulus Schoutsen
c1eaf60461
VCR YR sensor test
2015-12-27 17:37:32 -08:00
Paulus Schoutsen
7b00b19223
Merge pull request #807 from andythigpen/scene-fix
...
Fix issue with scene component when using YAML aliases.
2015-12-27 15:39:19 -08:00
Andrew Thigpen
d4b6a7343f
Fix issue with scene component when using YAML aliases.
...
YAML aliases/anchors can make repetitive configuration sections easier
to deal with. However when dealing with dictionaries, care needs to be
taken to not modify the original anchor since PyYAML utilizes a
reference when encountering an alias instead of a copy of the
dictionary.
2015-12-27 13:24:34 -06:00
Paulus Schoutsen
ab5a3f9de3
Clean up YR sensor
2015-12-27 11:07:25 -08:00
Paulus Schoutsen
9e1ecd7124
Fix flaky history test
2015-12-27 10:38:27 -08:00
Paulus Schoutsen
384f1344fd
Merge branch 'pr/792' into dev
2015-12-26 17:48:29 -08:00
Paulus Schoutsen
add24915a3
ps - clean up sun automation tests
2015-12-26 17:48:20 -08:00
Paulus Schoutsen
d191635fd8
Merge branch 'yr_no' into dev
2015-12-22 18:53:27 -08:00
Paulus Schoutsen
9876a2a081
Fix Alexa bug if no value for slots
2015-12-22 02:08:46 -08:00
Philip Lundrigan
ff8f22854c
Add test
2015-12-21 16:28:26 -07:00
Philip Lundrigan
110d721c76
Add tests
2015-12-21 16:09:51 -07:00
Paulus Schoutsen
1c08923ffc
Last test for 100% coverage of mqtt light
2015-12-19 19:36:38 -08:00
Paulus Schoutsen
90c705354a
Add template support to MQTT lights
2015-12-19 19:15:05 -08:00
Paulus Schoutsen
80d3552960
Add template editor
2015-12-17 23:33:09 -08:00
Philip Lundrigan
4c33eba378
Prevent triggering twice
2015-12-16 15:24:09 -07:00
Philip Lundrigan
fe2ae16210
Add tests for template automation
2015-12-16 15:24:09 -07:00
Philip Lundrigan
66fca475c6
Merge pull request #745 from philipbl/numeric_trigger
...
Template support for numeric state
2015-12-15 10:18:22 -07:00
Philip Lundrigan
9fa8b27d65
Change from `value` to `state`
2015-12-15 10:12:43 -07:00
Paulus Schoutsen
4029d149fb
Weird travis fix for api
2015-12-14 23:27:22 -08:00
Paulus Schoutsen
027b891052
Add tests for API.stream
2015-12-14 23:20:43 -08:00
Philip Lundrigan
cec62bdf87
Add tests
2015-12-14 14:47:32 -07:00
Paulus Schoutsen
729c24d59b
Add Alexa component
2015-12-12 22:29:02 -08:00
Paulus Schoutsen
9a9ecb5916
Migrate MQTT from jsonpath to templates
2015-12-10 21:39:01 -08:00
Paulus Schoutsen
47b5fbfaf3
Add template API endpoint
2015-12-10 20:47:06 -08:00
Paulus Schoutsen
d1383ac94d
Add template parsing to notify
2015-12-10 20:47:06 -08:00
Paulus Schoutsen
39e3a3c463
Bugfix: Allow accessing API via api_password in url
2015-12-06 21:09:49 -08:00
Daniel Hoyer Iversen
71bf707bcf
fix tests in yr sensor
2015-12-02 13:32:52 +01:00
sfam
9d8865ad4d
adjust rollershutter after rename
2015-12-02 12:18:49 +00:00
sfam
21ee621aec
rename motor component back to rollershutter
2015-12-02 12:15:00 +00: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
Daniel Hoyer Iversen
0025e67b05
Added test to heat control
2015-12-01 11:09:22 +01:00
Paulus Schoutsen
90eab17ea6
Fix MQTT light bugs
2015-11-29 23:23:27 -08:00
Paulus Schoutsen
a3981be501
Merge pull request #681 from pavoni/add_solar_elevation
...
Add automations based on Solar Elevation
2015-11-29 14:14:26 -08:00
pavoni
cb0eb2df7d
Add tests
2015-11-29 21:37:08 +00:00
Paulus Schoutsen
01203c7c4c
Add updater tests
2015-11-29 12:13:06 -08:00
Paulus Schoutsen
8841eef2b7
Add tests for lock component
2015-11-29 11:44:27 -08:00
Paulus Schoutsen
0016ff6acc
Merge pull request #678 from balloob/mqtt-light
...
Fixes for MQTT light with RGB colors
2015-11-28 23:22:57 -08:00
Paulus Schoutsen
e84ef2d2d7
API to fetch Error log is no longer cached.
2015-11-28 14:08:01 -08:00
Paulus Schoutsen
957b09707d
Fixes for MQTT light with RGB colors
2015-11-28 12:46:35 -08:00
Paulus Schoutsen
6809a881fa
Tweak MQTT Motor component
2015-11-28 01:02:35 -08:00
Paulus Schoutsen
9f01d7abca
Merge branch 'pr/655' into dev
2015-11-28 00:55:22 -08:00
Paulus Schoutsen
ad3f96fa25
Merge pull request #672 from balloob/some-cleanup
...
Make component dependencies optional
2015-11-27 15:08:22 -08:00
Paulus Schoutsen
2861bbb02c
Warn if config invalid shape for script
2015-11-26 13:08:13 -08:00
Pascal Bach
341c3a8fcd
Fix tests for mqtt publish with retain.
2015-11-26 21:03:21 +01:00
sfam
08ba71a359
rename component to motor and services to open/close/stop
2015-11-25 18:13:39 +00:00
sfam
351430c1b3
move current_position to RollershutterDevice class
2015-11-24 10:41:39 +00:00
sfam
e001ea913a
add __init__.py to test folder
2015-11-24 08:03:02 +00:00
sfam
8269e843f2
Initial commit for rollershutter component
2015-11-23 00:22:43 +00:00
Paulus Schoutsen
1bda0bd73b
Add some MQTT tests
2015-11-22 16:04:16 -08:00
Paulus Schoutsen
7f1254d750
Merge pull request #647 from mcdeck/dev
...
Support for json messages in mqtt switches and sensors
2015-11-22 11:22:56 -08:00
Oliver van Porten
427944cc44
add test for mqtt+json switch
2015-11-20 23:50:46 +01:00
Fabian Affolter
422a93e735
Add tests for MQTT binary sensor
2015-11-20 23:48:59 +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
e2c530b85d
Script: new attribute if can cancel
2015-11-14 15:38:07 -08:00
Paulus Schoutsen
7ebda9c3c6
Fix MQTT light test
2015-11-12 23:08:26 -08:00
Paulus Schoutsen
16e948d032
Merge branch 'pr/552' into dev
2015-11-12 23:04:05 -08:00
Paulus Schoutsen
41d0f95d9a
Move core light test to correct dir
2015-11-12 23:03:56 -08:00
hexxter
329d63ac11
next online unittest test ;)
2015-11-11 20:52:41 +01:00
hexxter
698e30bd2b
more self.hass.pool.block_till_done()
2015-11-11 20:40:21 +01:00
hexxter
90063ea7f8
check the default value only checkable local. I removed it.
2015-11-11 12:44:59 +01:00
hexxter
0c52b143ae
now saved
2015-11-11 12:38:10 +01:00
hexxter
8f12b997f8
more unittests
2015-11-11 12:32:24 +01:00
Paulus Schoutsen
95320f39b3
Light: base color now in RGB instead of XY
2015-11-07 01:25:33 -08:00
hexxter
186f68cce3
not working mqtt light unittest
2015-11-02 20:16:36 +01:00
hexxter
168eb8e5a2
mqtt light test is working more test should be written
2015-11-02 17:02:34 +01:00
hexxter
31826ab263
redesigned mqtt light an first steps with the unittest system
2015-10-31 19:26:03 +01:00
Paulus Schoutsen
12495c717e
Fix script regression
2015-10-28 12:24:33 -07:00
Paulus Schoutsen
96181a555a
Allow pipes in command sensors and services
2015-10-24 12:40:36 -07:00
Paulus Schoutsen
3d972abdab
Clean up the heat control thermostat
2015-10-22 22:04:37 -07:00
Paulus Schoutsen
806c71c803
Merge pull request #522 from balloob/script-cleanup
...
Script clean up
2015-10-15 13:44:46 -07:00
Paulus Schoutsen
5dfd0d2502
Fix another manual alarm regression
2015-10-15 08:39:38 -07:00
Paulus Schoutsen
7ba4263284
Fix regression manual alarm
2015-10-14 23:38:42 -07:00
Paulus Schoutsen
347597ebdc
Base Script on entity
2015-10-14 23:15:48 -07:00
Paulus Schoutsen
716376081d
Add tests for MQTT alarm
2015-10-13 23:08:12 -07:00
Paulus Schoutsen
d37b70556d
manual alarm: Test disarm with invalid code
2015-10-13 22:41:35 -07:00
Paulus Schoutsen
32bb950b5f
Add tests for manual alarm control panel platform
2015-10-13 22:36:21 -07:00
Paulus Schoutsen
925cde200f
Merge pull request #514 from balloob/scene-turn-off-remove
...
Remove turning off scenes
2015-10-12 23:43:29 -07:00
Paulus Schoutsen
d6bbc67112
Add tests for scene
2015-10-11 23:48:17 -07:00
Paulus Schoutsen
6d77b15e44
Few more tests
2015-10-11 21:41:44 -07:00
Paulus Schoutsen
916c453d2b
Add test for shell command
2015-10-11 21:30:17 -07:00
Paulus Schoutsen
b6d26597c0
Automation - state platfor: Flag if user makes config error
2015-10-11 18:30:25 -07:00
Paulus Schoutsen
1b4ef3856a
Merge pull request #471 from alanbowman/blinkstick_support
...
[WIP] Add blinkstick support
2015-10-08 00:05:42 -07:00
Alan Bowman
9d4aa7e519
Update tests for RGB color support
2015-10-07 13:58:21 +01:00
Jon Maddox
c83324d4cf
nope
2015-10-07 01:34:37 -04:00
Jon Maddox
1c4ac6017d
fix typo while were in here
2015-10-07 01:21:41 -04:00
Jon Maddox
25a690691b
import it from the right place
2015-10-07 01:11:19 -04:00
Jon Maddox
bb997deb85
COMMMMAAAAAAAAAAAA
2015-10-07 01:06:27 -04:00
Jon Maddox
9012ba53fd
add play_media service to tests
2015-10-06 23:18:24 -04:00
Paulus Schoutsen
d35f5b9f97
Tests for MQTT sensor/switch
2015-10-02 23:57:26 -07:00
Paulus Schoutsen
1dc9bfdf73
Update config zones
2015-09-29 23:08:37 -07:00
Paulus Schoutsen
2eb36c18bd
Add geofencing to automation
2015-09-29 00:18:52 -07:00
Paulus Schoutsen
30492cc685
Fix tests and linting
2015-09-20 11:46:01 -07:00
Paulus Schoutsen
720e5876a7
Fix broken automation test
2015-09-19 21:02:28 -07:00
Paulus Schoutsen
85489010bc
Merge pull request #404 from stefan-jonasson/automation_confg_list
...
Automation confg lists
2015-09-19 20:53:26 -07:00
Stefan Jonasson
40651ef2bc
Fixed old config value conversion
...
Added a new unit test for the config list mode
2015-09-19 21:13:09 +02:00
Paulus Schoutsen
55f6ff86e4
Merge pull request #405 from balloob/automation-event
...
Event automation fuzzy matches on data
2015-09-19 10:43:02 -07:00
Paulus Schoutsen
dd4e1cbd1d
Change automation action config keys
2015-09-19 08:43:56 -07:00
Paulus Schoutsen
9019d654d7
Event automation fuzzy matches on data
2015-09-19 08:27:34 -07:00
Paulus Schoutsen
4371355be1
Better errors on time automation trigger
2015-09-17 23:12:55 -07:00
Paulus Schoutsen
86aea83f64
Device tracker improvements
2015-09-15 23:35:28 -07:00
Paulus Schoutsen
95eabe7c0e
Freeze time for sun automation test
2015-09-15 20:18:24 -07:00
Paulus Schoutsen
c18294ee76
Allow triggers to be used as condition
2015-09-15 08:56:06 -07:00
Paulus Schoutsen
ae527e9c6f
Fix broken sun automation test
2015-09-15 00:07:49 -07:00
Paulus Schoutsen
2978e0dabe
Add sun automation trigger
2015-09-15 00:02:54 -07:00
Paulus Schoutsen
e26f0f7b7d
Update stale header doc
2015-09-15 00:02:46 -07:00
Paulus Schoutsen
b2ad8db86b
Add condition type to automation component
2015-09-14 22:51:28 -07:00
Paulus Schoutsen
68c1dd7cd4
Refactor automation configuration
2015-09-14 22:05:40 -07:00
Paulus Schoutsen
2fe8b154f1
Fix state automation configuration
2015-09-14 18:22:49 -07:00
Stefan Jonasson
d5198d4242
Implemented the if condition support in numeric state
2015-09-14 20:33:01 +02:00
Paulus Schoutsen
2a11d02fe4
Add if to automation
2015-09-13 22:27:27 -07:00
Paulus Schoutsen
de5a2fee83
Add custom entries to logbook
2015-09-13 18:30:44 -07:00
Paulus Schoutsen
513f6e9c3c
Merge pull request #353 from stefan-jonasson/dev
...
numeric_state automation platform
2015-09-13 17:13:06 -07:00
Stefan Jonasson
e9da02d70c
Fixed value error exception
...
Fixed unittest
2015-09-13 19:59:26 +02:00
Paulus Schoutsen
51dd718282
Fix broken thermostat demo and prevent happening again
2015-09-13 08:08:46 -07:00
Stefan Jonasson
a2ca60159d
Fixed logic
2015-09-13 13:05:36 +02:00
Stefan Jonasson
50f5f1860c
Added a numeric_state automation platform test ( UNTESTED )
2015-09-13 12:53:37 +02:00
Paulus Schoutsen
eef1e65244
Fix converting config device tracker
2015-09-13 00:48:52 -07:00
Paulus Schoutsen
880b5f0ad1
Add device_tracker.see service
2015-09-13 00:02:28 -07:00
Paulus Schoutsen
d4174f5e42
Fix device sun light trigger tests
2015-09-12 22:57:31 -07:00
Paulus Schoutsen
cfc23b0091
Speed up tests
2015-09-12 22:56:49 -07:00
Paulus Schoutsen
bb42e264cb
Device tracker sets up group again
2015-09-12 22:56:31 -07:00
Paulus Schoutsen
4ccedca3e5
Fix tests for device tracker
2015-09-12 09:15:28 -07:00
Paulus Schoutsen
f9b17ab026
Device tracker rewrite
2015-09-09 23:37:15 -07:00
Paulus Schoutsen
58afbecd05
Speed up tests
2015-09-01 00:18:26 -07:00
Paulus Schoutsen
3e3ee9184a
Fix broken conversation test
2015-08-31 00:54:00 -07:00
Paulus Schoutsen
5b2b12eed1
Merge pull request #291 from rmkraus/more_tests
...
Adding additional tests
2015-08-30 23:49:29 -07:00
Ryan Kraus
881901f4d3
Removed bogus intro test.
2015-08-31 02:48:26 -04:00
Paulus Schoutsen
64fff48021
Allow spaces in group setup string
2015-08-30 20:44:38 -07:00
Ryan Kraus
7dd7d7a191
Restructured conversation tests.
2015-08-30 05:04:04 -04:00
Ryan Kraus
5ba5e0ffb1
Added another conversation test.
2015-08-30 04:30:19 -04:00
Ryan Kraus
10054567de
Added test for conversation and introduction components.
2015-08-30 04:24:24 -04:00
theolind
089cd0ff8a
Added test for Automation component service id list
2015-08-25 06:50:20 +02:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Paulus Schoutsen
3fad4d8cda
Increase test coverage MQTT
2015-08-10 23:34:58 -07:00
Paulus Schoutsen
65a4b3c9f8
Add MQTT component tests
2015-08-10 23:11:57 -07:00
Paulus Schoutsen
291cc62381
Add automation mqtt tests
2015-08-10 23:11:46 -07:00
Paulus Schoutsen
eecc51c92d
Add tests for automation component
2015-08-10 22:26:12 -07:00
Paulus Schoutsen
fc6d7db81b
Readd setting up groups with comma seperated list
2015-08-08 13:44:07 -07:00
Paulus Schoutsen
d2b5f429fe
Remove deprecated code
2015-08-04 16:21:09 -04:00
Paulus Schoutsen
df3ee6005a
Nicer test imports
...
unittest changes import path so old style worked but is confusing
2015-08-04 18:15:22 +02:00
Paulus Schoutsen
0c56fde5a9
Reorg tests folder
2015-07-26 10:17:01 +02:00