Commit Graph

16287 Commits (cc12698f260683f70ab20b893817a9e23128a344)

Author SHA1 Message Date
Paulus Schoutsen f1aa685cf2 Add version to config API 2015-10-25 21:00:22 -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 dcfc91e71c Fix throttle applied to methods 2015-10-11 10:42:42 -07:00
Paulus Schoutsen 47fc1deecb Fix throttle to work on instance-level 2015-10-08 23:49:55 -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 68c2b539ee More flexible domain config extraction 2015-09-28 23:09:05 -07:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -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 364d85b6df Fixed remote tests. 2015-08-30 04:51:49 -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
Ryan Kraus bfa3900e6a Updated core config directory tests 2015-08-29 22:44:59 -04:00
theolind 089cd0ff8a Added test for Automation component service id list 2015-08-25 06:50:20 +02:00
Paulus Schoutsen e09e78347b Upgrade remote test 2015-08-21 21:51:54 -07:00
Paulus Schoutsen 8bb189e014 Finish core extraction 2015-08-16 20:53:17 -07:00
Paulus Schoutsen 1b89a502c4 Extract core into own submodule 2015-08-16 20:44:46 -07:00
Paulus Schoutsen 60abaa585c Add test for bootstrap 2015-08-11 08:20:13 -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 aa20b94927 Remove support for old home-assistant.conf file 2015-08-04 16:21:25 -04:00
Paulus Schoutsen d2b5f429fe Remove deprecated code 2015-08-04 16:21:09 -04:00
Paulus Schoutsen 2075de3d81 Extended test_init tests to cover all 2015-08-04 18:16:10 +02: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 76f63ee262 Clean up test code 2015-08-03 17:57:12 +02:00
Paulus Schoutsen e0468f8b8e Extract helpers.event from core + misc cleanup 2015-07-26 10:45:49 +02:00
Paulus Schoutsen 0c56fde5a9 Reorg tests folder 2015-07-26 10:17:01 +02:00
Paulus Schoutsen 1fda362ca3 Take elevation into consideration 2015-07-16 21:19:23 -07:00
Paulus Schoutsen 35f0270688 Sun component: ephem->astral 2015-07-16 19:57:07 -07:00
Paulus Schoutsen eb4bb6925f Stub http component in tests 2015-07-11 00:02:52 -07:00
Paulus Schoutsen aeae7c2c02 Reorganize util methods 2015-07-07 00:01:17 -07:00
Paulus Schoutsen 4cc8b0bda5 Merge branch 'dev' into refactor-media-player 2015-06-02 22:44:03 -07:00
Paulus Schoutsen 644a3058de Fix device tracker deadlock after exception in scanner 2015-06-02 21:39:33 -07:00
Paulus Schoutsen a7b79fc8b2 Initial refactor media player 2015-06-01 23:06:46 -07:00
Paulus Schoutsen 10d74bb37e Add turn_on method to media_player 2015-05-30 11:29:49 -07:00
Paulus Schoutsen 29e376a66e Assign unique ports for history and logbook tests 2015-04-30 21:59:24 -07:00
Paulus Schoutsen 2cad421de9 Add tests for logbook component 2015-04-30 21:53:10 -07:00
Paulus Schoutsen 17cc9a43bb Add tests for history component 2015-04-30 21:03:01 -07:00
Paulus Schoutsen cf5278b7e9 Add tests for recorder component 2015-04-29 23:21:31 -07:00
Paulus Schoutsen fd67e47128 Add tests for device_sun_light_trigger 2015-04-29 22:26:54 -07:00
Paulus Schoutsen e0ecb64a10 Use UTC as the internal datetime format 2015-04-28 19:12:05 -07:00
Paulus Schoutsen ad016de653 Move config code to separate module + test cover it 2015-04-26 10:05:01 -07:00
Paulus Schoutsen bc3af134f9 Minor cleanup demo component 2015-04-25 17:44:05 -07:00
Ryan Kraus 8255164eda Rearranged visibility control and image control in the configuration file. Now a single generic clause can be used to customize any attribute. 2015-04-25 14:47:15 -04:00
Ryan Kraus 04a98f99b7 Updated entity tests to work with new attribute overwritting logic. 2015-04-25 01:43:03 -04:00
Paulus Schoutsen 8f36cf3c81 Clean up Entity helper test code 2015-04-23 07:33:59 -07:00
Paulus Schoutsen b855f422ef Tweak visibility config 2015-04-23 06:41:41 -07:00
Paulus Schoutsen bbdb0320f1 Have group inherit from entity 2015-04-22 22:31:16 -07:00
Paulus Schoutsen bbfd97e2b8 Migrate components to use EntityComponent 2015-03-21 19:37:18 -07:00
Paulus Schoutsen 7a7f486cb2 Rename config.get_config_path to config.path 2015-03-19 12:27:56 -07:00
Paulus Schoutsen 9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
Paulus Schoutsen 71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00
Paulus Schoutsen 633d0453be Fixes for remote instances Home Assistant 2015-03-14 13:07:38 -07:00
Paulus Schoutsen fde0ce1997 Remove CONF_TYPE and platform_devices_from_config 2015-03-06 00:04:32 -08:00
Paulus Schoutsen 3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00
Paulus Schoutsen 84844c242b Refactor chromecast into media_player platform 2015-03-03 23:50:54 -08:00
Paulus Schoutsen 89100d14c8 Refactored device components 2015-03-01 01:35:58 -08:00
Paulus Schoutsen b73fd6d522 Fix device tracker tests 2015-02-27 18:45:06 -08:00
Paulus Schoutsen 8e29910e77 Style fixes to satisfy updated Flake8 2015-02-15 17:15:46 -08:00
Paulus Schoutsen 3f26fc3b06 Move more HTTP stuff into constant file 2015-02-13 18:27:13 -08:00
Paulus Schoutsen ce39a6fb18 Bug fixes related to entity_ids being lowercase 2015-02-08 22:18:54 -08:00
Paulus Schoutsen f5084a5f70 Have statemachine.track_change work on new states 2015-02-08 22:18:31 -08:00
Paulus Schoutsen d053f93419 Entity IDs are now always lowercase 2015-02-06 00:17:30 -08:00
Paulus Schoutsen 8feeafd8a3 Refactor http into frontend and api component 2015-01-29 23:56:21 -08:00
Paulus Schoutsen 5b10d35aa8 Fix flaky device scanner test 2015-01-20 22:23:58 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen d3f1b83e57 Fix device scanner test 2015-01-19 23:29:19 -08:00
Paulus Schoutsen 2016da984a Tweaks to the configurator UI 2015-01-19 22:40:30 -08:00
Paulus Schoutsen cdbcc844cf Add tests, fix styling 2015-01-19 21:40:54 -08:00
Paulus Schoutsen ed05ff6fd9 Allow for running Home Assistant without password 2015-01-17 21:55:33 -08:00
Paulus Schoutsen 86e4fb9655 Merge branch 'component-wink' into dev
* component-wink:
  Wink component bug fixes
  Bugfixes to make Wink component work
  Added wink component to auto-load other needed components
  Initial version wink component by @loghound
  changed bearer_token to access_token in conf file
  Wink Hub integration of it's switches & lights

Conflicts:
	homeassistant/components/switch/__init__.py
	homeassistant/const.py
2015-01-11 23:22:40 -08:00
Paulus Schoutsen 283b187501 Use properties instead of getters for Device class 2015-01-11 09:20:41 -08:00
Paulus Schoutsen 6cd53f2ddf Added wink component to auto-load other needed components 2015-01-10 23:47:23 -08:00
Paulus Schoutsen ba179bc638 Automatic discovery and setting up of devices 2015-01-09 00:07:58 -08:00
Paulus Schoutsen f1209a42a9 Ensure groups always have unique entity id 2015-01-08 20:17:05 -08:00
Paulus Schoutsen d4cad0b267 Rename ha_test folder to tests 2015-01-08 20:05:12 -08:00