Fabian Affolter
897b5c668f
Fix PEP257 issues
2016-03-08 00:06:04 +01: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
3fad4d8cda
Increase test coverage MQTT
2015-08-10 23:34:58 -07:00
Paulus Schoutsen
d2b5f429fe
Remove deprecated code
2015-08-04 16:21:09 -04:00
Paulus Schoutsen
14023a15e6
Minor code cleanup
2015-08-04 18:13:55 +02:00
Paulus Schoutsen
7870e9a5e2
Minor cleanup core
2015-08-03 17:05:33 +02:00
Paulus Schoutsen
e0468f8b8e
Extract helpers.event from core + misc cleanup
2015-07-26 10:45:49 +02:00
Paulus Schoutsen
e0d697d0bc
Default to UTC if invalid timezone specified
2015-05-15 23:28:16 -07:00
Paulus Schoutsen
c719e7dc31
Allow config.path to take multiple arguments
2015-05-10 23:05:37 -07:00
Paulus Schoutsen
ca8be5015a
Add config API endpoint
2015-05-01 18:24:32 -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
040dd3c409
Strip microseconds on state.last_updated
2015-04-29 08:18:53 -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
4d0265cb7d
Add timeout to auto detect config
2015-04-24 20:57:25 -07:00
Paulus Schoutsen
e43eee2eb1
Style fixes
2015-04-01 07:18:03 -07:00
Paulus Schoutsen
00bbc17e11
Add State.last_updated to JSON obj
2015-03-31 23:08:38 -07:00
Paulus Schoutsen
a2f8fa7b05
Add time_fired to Event class
2015-03-29 14:47:20 -07:00
Paulus Schoutsen
58812b326c
Move hass.local_api and hass.components to config object
2015-03-21 22:06:59 -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
1245af356b
Scene bugfixes and UI improvements
2015-03-16 23:32:18 -07:00
andythigpen
046efe3acb
Adds script component.
...
A script is composed of a sequence of actions (currently service calls)
that are executed in order. Individual actions can also be delayed by a
given timedelta.
2015-03-14 21:29:55 -05:00
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