Commit Graph

97 Commits (95852db18db22818774e220175990c35911bd7e0)

Author SHA1 Message Date
Paulus Schoutsen b5a3a72b51 Merge remote-tracking branch 'origin/master' into dev
* origin/master:
  Fix issue in Timer thread caused by variable name.
  Fix issue with some bulbs missing 'xy' attribute.
2015-02-21 18:24:10 -08:00
andythigpen 8819aa7079 Fix issue in Timer thread caused by variable name.
threading.Thread already contains a _stop() function which is called in
threading._after_fork().  Assigning an Event object to _stop caused
periodic exceptions to be thrown.  This renames the _stop variable to
_stop_event to prevent a naming collision.
2015-02-21 15:21:43 -06:00
Paulus Schoutsen 7dd7c489e8 Fire event for loading component/adding service 2015-02-13 22:49:56 -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 36544ee088 Ensure entity ids are always lower case 2015-02-06 00:00:39 -08:00
Paulus Schoutsen 7c45318c00 Recorder component: proof of concept 2015-01-28 00:22:09 -08:00
Paulus Schoutsen 253e3eb628 Fire a time_changed event every second 2015-01-24 18:04:19 -08:00
Paulus Schoutsen 8d0bddac6c New: State.last_updated represents creation date 2015-01-19 21:39:44 -08:00
Paulus Schoutsen 9d933f517b Merge pull request #22 from kangaroo/wink-sensors
Wink sensor support
2015-01-19 21:30:44 -08:00
Geoff Norton 454bea4237 Reduce the timer interval to make sensors useful 2015-01-20 02:57:50 +00:00
Paulus Schoutsen 50eecd11c1 Added command line toggle to open UI on start 2015-01-17 21:13:02 -08:00
Paulus Schoutsen 9ffe35756b Component Automation - initial version 2015-01-15 23:32:27 -08:00
Paulus Schoutsen b9a08bb25d Migrate nest platform to python-nest 2015-01-12 23:31:31 -08:00
Paulus Schoutsen ca49a2aa68 Use tuples instead of lists internally 2015-01-11 09:55:45 -08:00
Paulus Schoutsen ba179bc638 Automatic discovery and setting up of devices 2015-01-09 00:07:58 -08:00
Paulus Schoutsen f64e84d087 State.last_changed only changes if state changes
No longer affected if just the attributes get updated.
2015-01-02 08:48:20 -08:00
Paulus Schoutsen 89a548252a StateMachine is now case insensitive for entity ids 2014-12-26 23:26:39 -08:00
Paulus Schoutsen 970014588a New strategy for defining number of used threads
Number of worker threads is 2 + 1 for each component that polls devices.
2014-12-16 21:46:02 -08:00
Paulus Schoutsen bea7634b47 Fix PyLint 2014-12-14 19:59:37 -08:00
Paulus Schoutsen 344ce6ee4d Define number of worker threads based on cpu count 2014-12-14 18:28:11 -08:00
Paulus Schoutsen b091e9c31c Added TrackStates context manager 2014-12-14 00:32:20 -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 e7dff308ef Updated example component with more examples 2014-12-08 22:06:57 -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 eef4817804 Cleaned up device_tracker and added tests 2014-12-02 23:54:10 -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 006310c883 Home Assistant stop is more robust 2014-11-28 20:22:08 -08:00
Paulus Schoutsen 9c4111403e Default config dir is now working_dir/config 2014-11-25 23:15:18 -08:00
Paulus Schoutsen bc4b81d525 Reorganized testing 2014-11-23 13:00:06 -08:00
Paulus Schoutsen ad16c32504 Reorganized tests 2014-11-23 09:51:16 -08:00
Paulus Schoutsen b94ab32d60 Last pieces of test coverage for core classes 2014-11-22 22:37:53 -08:00
Paulus Schoutsen 5943f757a0 Even more test coverage 2014-11-22 21:40:01 -08:00
Paulus Schoutsen 5d107ed74b Switched style checking to flake8 instead of pep8 2014-11-16 22:18:52 -08:00
Paulus Schoutsen 5770cc03a1 Migrated wemo component to be part of a switch component 2014-11-08 17:20:43 -08:00
Paulus Schoutsen 222d57bda7 track_state_change now accepts a list of entity_ids 2014-11-08 14:22:17 -08:00
Paulus Schoutsen 1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen a9ee2f9c54 Refactor: loading of components now done in a seperate module + better error reporting 2014-11-04 23:34:19 -08:00
Paulus Schoutsen 904bf4493e Added entity_id validation to the State class 2014-11-04 19:59:22 -08:00
Paulus Schoutsen 001f27cdb4 HTTP API is now more RESTful 2014-10-17 00:17:02 -07:00
Paulus Schoutsen d570aeef33 Configuration goes now into a single directory 2014-09-20 21:19:39 -05:00
Paulus Schoutsen 997c2e8ef6 Components+configuration now loaded dynamically
A major change to the bootstrapping of Home Assistant decoupling the
knowledge in bootstrap for a more dynamic approach. This refactoring
also prepares the code for different configuration backends and the
loading components from different places.
2014-08-13 14:28:45 +02:00
Paulus Schoutsen 50b492c64a Remote instances are now 100% operational 2014-04-29 00:30:31 -07:00
Paulus Schoutsen 2e10d7223a Re-organized core for better reusability 2014-04-24 00:40:45 -07:00
Paulus Schoutsen ef6d862671 Further Python 3 migration 2014-04-14 23:48:00 -07:00
Paulus Schoutsen 7e06d535ab Ported codebase to Python 3. Long Live Python 3! 2014-04-14 00:10:31 -07:00
Paulus Schoutsen 28389f6c39 More unicode support added to the core 2014-03-11 22:35:51 -07:00
Paulus Schoutsen 0e97e64397 One time listener ensures it is executed one time 2014-02-14 13:13:37 -08:00
Paulus Schoutsen c735e32361 Split out track_point_in_time from track_time_change 2014-02-14 11:34:09 -08:00