Commit Graph

738 Commits (ba58c080e31a56b665b5171a5203b6056a5c175b)

Author SHA1 Message Date
Paulus Schoutsen b091e9c31c Added TrackStates context manager 2014-12-14 00:32:20 -08:00
Paulus Schoutsen dfa1e1c586 Fix Chromecast tests 2014-12-13 22:49:49 -08:00
Paulus Schoutsen 78d5625ace Calling a service can now block till execution is done 2014-12-13 22:40:00 -08:00
Paulus Schoutsen f8223053bd Style fixes in home-assistant-api.html 2014-12-13 22:29:05 -08:00
Paulus Schoutsen e2b434b24e Log file now also contains warnings 2014-12-12 08:15:34 -08:00
Paulus Schoutsen 7c404a0551 device_tracker - No longer keep writing same new devices to known_devices.csv 2014-12-12 07:32:50 -08:00
Paulus Schoutsen 81be3811dc Only save the valid entities in the group entity_ids attribute 2014-12-12 07:21:25 -08:00
Paulus Schoutsen 40cde1f836 Merge pull request #12 from jd/jd/typo
Fix typo in doc
2014-12-12 07:04:48 -08:00
Julien Danjou 36cb12cd15 Fix typo in doc 2014-12-12 11:40:20 +01:00
Paulus Schoutsen df3521e706 Group component is more flexible when to setup a group 2014-12-11 17:31:01 -08:00
Paulus Schoutsen ea1e4108cc Auth header for API is now prefixed with X- to follow spec 2014-12-09 00:34:36 -08:00
Paulus Schoutsen 756425f7b4 Added frontend icon for simple_alarm 2014-12-09 00:29:07 -08:00
Paulus Schoutsen 00e1ecb5ad Fix: simple_alarm will now report if proper initialized 2014-12-09 00:14:12 -08:00
Paulus Schoutsen 4e1b094449 Simple_alarm will only show known_alarm if that light is already on 2014-12-09 00:06:55 -08:00
Paulus Schoutsen dd55d6c7f9 Added a simple_alarm component 2014-12-08 23:47:20 -08:00
Paulus Schoutsen 6044742cee Fix: Hue lights will not flash anymore on next turn on call after having flashed 2014-12-08 23:41:52 -08:00
Paulus Schoutsen 99447eaa17 Light component now supports sending flash command 2014-12-08 23:02:38 -08:00
Paulus Schoutsen e7dff308ef Updated example component with more examples 2014-12-08 22:06:57 -08:00
Paulus Schoutsen 1f582cbeec Fix: Read known devices file once on init device_tracker 2014-12-08 22:06:38 -08:00
Paulus Schoutsen 68aa78d1fe Fix some style warnings by PyCharm 2014-12-07 01:28:52 -08:00
Paulus Schoutsen 0527760e9b Refactor: code moved to new helper and constants file. Also adds support for multiple types for switch/light components. 2014-12-06 23:57:02 -08:00
Paulus Schoutsen 513a03fb46 Updated API docs 2014-12-06 16:16:11 -08:00
Paulus Schoutsen 48089b01ab Renamed AddCooldown to Throttle and added bypass functionality 2014-12-04 21:06:45 -08:00
Paulus Schoutsen 31b9f65513 Added initial version of AddCooldown decorator 2014-12-04 01:14:27 -08:00
Gustav Ahlberg c92089808f completed time_event_listener 2014-12-03 20:38:48 +01:00
Paulus Schoutsen eef4817804 Cleaned up device_tracker and added tests 2014-12-02 23:54:10 -08:00
Paulus Schoutsen 12c734fa48 Update travis.yml to point at new test 2014-12-01 07:59:08 -08:00
Paulus Schoutsen ed150b8ea5 Renamed test to ha_test because of conflict with built-in python test package 2014-11-30 23:15:18 -08:00
Paulus Schoutsen 5835d502c7 Moved more methods out of HomeAssistant object 2014-11-30 18:42:52 -08:00
Paulus Schoutsen c08676aa81 Reorganized some core methods 2014-11-28 23:38:42 -08:00
Paulus Schoutsen 6f05548ec8 Add test coverage for demo component 2014-11-28 22:49:29 -08:00
Paulus Schoutsen a4eb975b59 HTTP more robust and increased test coverage 2014-11-28 22:27:44 -08:00
Paulus Schoutsen 014abdba39 Remove unused imports in tests 2014-11-28 21:02:03 -08:00
Paulus Schoutsen cdccdb432a Test remote methods for errors 2014-11-28 21:01:44 -08:00
Paulus Schoutsen 63f8f2ee7f Remote instance closes event forwarding on shutdown 2014-11-28 20:37:23 -08:00
Paulus Schoutsen cfae4c667a Minor improvements to homeassistant.remote tests 2014-11-28 20:22:29 -08:00
Paulus Schoutsen 006310c883 Home Assistant stop is more robust 2014-11-28 20:22:08 -08:00
Paulus Schoutsen 89102b5652 Increase homeassistant.util test coverage 2014-11-28 19:42:16 -08:00
Paulus Schoutsen 5fe73cf33e Made dependency loading more robust 2014-11-28 15:36:21 -08:00
Gustav Ahlberg 09908f5780 Merge branch 'dev' of https://github.com/balloob/home-assistant into scheduler
# By Paulus Schoutsen
# Via Paulus Schoutsen
* 'dev' of https://github.com/balloob/home-assistant: (51 commits)
  Light test tests light profile loading
  Loader test tests now custom component loading
  Default config dir is now working_dir/config
  Add sun component test for state change
  Tweak light test to create correct exception
  Better light.xy_color parsing
  Added light component test coverage
  Renamed mock_switch_platform to mock_toggledevice_platform
  Expanded switch test to push it to 100% coverage
  Fix to make tests work on Travis CI
  Added tests for switch component
  Clean up code sun component tests
  Added test coverage for sun component
  Minor fix for Chromecast component
  Cleaned up tests a bit
  Added initial Chromecast test coverage
  Final test added to get to 100% coverage for groups
  Extended group tests
  Added group component tests
  Reorganized testing
  ...
2014-11-26 20:44:37 +01:00
Gustav Ahlberg 1c94bb1c0f Schedule component and time event
The schedule can read a schedule.json file and create time events
2014-11-26 20:38:40 +01:00
Paulus Schoutsen ce1a5de607 Light test tests light profile loading 2014-11-25 23:16:07 -08:00
Paulus Schoutsen c3047efc45 Loader test tests now custom component loading 2014-11-25 23:15:58 -08:00
Paulus Schoutsen 9c4111403e Default config dir is now working_dir/config 2014-11-25 23:15:18 -08:00
Paulus Schoutsen cda04b7ece Add sun component test for state change 2014-11-25 22:31:36 -08:00
Paulus Schoutsen 4405d09d38 Tweak light test to create correct exception 2014-11-25 21:42:33 -08:00
Paulus Schoutsen 2220df5a3e Better light.xy_color parsing 2014-11-25 21:38:47 -08:00
Paulus Schoutsen 5f9787aeb2 Added light component test coverage 2014-11-25 21:28:43 -08:00
Paulus Schoutsen 845a028d42 Renamed mock_switch_platform to mock_toggledevice_platform 2014-11-25 19:16:42 -08:00
Paulus Schoutsen 3e348880d5 Expanded switch test to push it to 100% coverage 2014-11-25 00:33:02 -08:00