Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Paulus Schoutsen
4163e55dbd
Introducing hass.data ( #4121 )
...
* Hello hass.data
* Migrate setup_component to hass.data
2016-10-29 14:51:17 -07:00
Paulus Schoutsen
9ea1101aba
Fix bootstrap circular imports ( #4108 )
...
* Fix bootstrap circular imports
* fix test
* Lint
2016-10-29 12:54:47 -07:00
Pascal Vizeli
825ee3612d
fix some comments spell ( #4082 )
...
* fix some comments
* fix in an executor
* address paulus comments
2016-10-28 21:26:52 +02:00
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Per Sandström
0dfcf40d37
[WIP] Config validation error line numbers ( #3976 )
...
Config validation error line numbers
2016-10-25 20:13:32 +02:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -07:00
Sean Dague
daea93d9f9
Suppress requests/urllib3 connection pool log messages ( #3854 )
...
requests/urllib3 is notorious for using the INFO log level for very
DEBUG kinds of information. Given the configurability of python
logging it's actually pretty easy to just set requests to WARN by
default. This cleans out a bunch of largely unuseful log lines from
home assistant output.
2016-10-17 21:14:10 +02:00
Johann Kellerman
cb322f72db
Add persistent notifications to bootstrap ( #3738 )
...
* Add persistent notifications to bootstrap
* Rebase, Fix test
2016-10-13 09:09:07 -07:00
Johann Kellerman
7b40a641ec
Continue on invalid platforms and new setup_component unit tests ( #3736 )
2016-10-08 11:27:35 -07:00
Paulus Schoutsen
4b8bc90d16
Limit worker pool to 10 threads ( #3560 )
...
* Limit worker pool to 10 threads
* Comment evdev in requirements
* Allow skipping RFXtrx tests locally
* Fix worker pool size tests
* lol whut
2016-09-28 00:05:38 -07:00
Fabian Affolter
a084232cf5
Add link to error message ( #3530 )
2016-09-27 23:59:34 -07:00
Johann Kellerman
9631179126
Use voluptuous for input_slider, input_boolean, input_select ( #3256 )
...
* Use voluptuous for input slider
* floats
* _setup_component
* Imperative mood
* CONFIG_SCHEMA
* None returns empty ensure_list
* allow_extra
* bool
* restore ensure_list behaviour
2016-09-23 00:12:11 -07:00
Paulus Schoutsen
609d7ebea5
Migrate core from threads to async awesomeness ( #3248 )
...
* Add event loop to the core
* Add block_till_done to HA core object
* Fix some tests
* Linting core
* Fix statemachine tests
* Core test fixes
* fix block_till_done to wait for loop and queue to empty
* fix test_core for passing, and correct start/stop/block_till_done
* Fix remote tests
* Fix tests: block_till_done
* Fix linting
* Fix more tests
* Fix final linting
* Fix remote test
* remove unnecessary import
* reduce sleep to avoid slowing down the tests excessively
* fix remaining tests to wait for non-threadsafe operations
* Add async_ doc strings for event loop / coroutine info
* Fix command line test to block for the right timeout
* Fix py3.4.2 loop var access
* Fix SERVICE_CALL_LIMIT being in effect for other tests
* Fix lint errors
* Fix lint error with proper placement
* Fix slave start to not start a timer
* Add asyncio compatible listeners.
* Increase min Python version to 3.4.2
* Move async backports to util
* Add backported async tests
* Fix linting
* Simplify Python version check
* Fix lint
* Remove unneeded try/except and queue listener appproriately.
* Fix tuple vs. list unorderable error on version compare.
* Fix version tests
2016-09-12 19:16:14 -07:00
Paulus Schoutsen
35b388edce
Reload groups ( #3203 )
...
* Allow reloading groups without restart
* Test to make sure automation listeners are removed.
* Remove unused imports for group tests
* Simplify group config validation
* Add prepare_reload function to entity component
* Migrate group to use entity_component.prepare_reload
* Migrate automation to use entity_component.prepare_reload
* Clean up group.get_entity_ids
* Use cv.boolean for group config validation
2016-09-07 06:59:16 -07:00
Paulus Schoutsen
e9813b219e
Allow reloading automation without restarting HA ( #3002 )
2016-09-04 17:15:52 +02:00
Johann Kellerman
14b034f452
Check config script ( #2657 )
...
* Add check_config, yaml linting script
* WIP: Start reusing some bootstrap methods for validation
* Start outputs
* Secrets, files and failed config
* requirements_all
* Fixes
* formatting
* Fix unit test after formatting
2016-08-22 21:42:05 -07:00
Teagan Glenn
8d1a9d86ea
Yaml secret fallback to parent folders ( #2878 )
...
* Move secret cache out of loader so it can be referenced by other folders
* Unit test to verify secrets from another folder work & see if it overrides parent secret
* Clear secret cache after load
2016-08-20 21:39:56 +02:00
Johann Kellerman
aadf6a7750
Handle requirements for scripts ( #2765 )
2016-08-09 23:54:34 -07:00
Paulus Schoutsen
9fa1328111
Move config validation exception logging to bootstrap + humanize
2016-08-09 21:38:44 -07:00
Paulus Schoutsen
0b7b0e54ba
Move unit system to util ( #2763 )
2016-08-08 20:42:25 -07:00
Fabian Heredia Montiel
0377338a81
Improvement typing ( #2735 )
...
* Fix: Circular dependencies of internal files
* Change: dt.date for Date and dt.datetime for DateTime
* Use NewType if available
* FIX: Wrong version test
* Remove: Date and DateTime types due to error
* Change to HomeAssistantType
* General Improvement of Typing
* Improve typing config_validation
* Improve typing script
* General Typing Improvements
* Improve NewType check
* Improve typing db_migrator
* Improve util/__init__ typing
* Improve helpers/location typing
* Regroup imports and remove pylint: disable=ungrouped-imports
* General typing improvements
2016-08-07 16:26:35 -07:00
Fabian Heredia Montiel
ae97218582
Improvement typing core ( #2624 )
...
* Add package typing
* Add util/location typing
* FIX: lint wrong order of imports
* Fix sometyping and add helpers/entity typing
* Mypy import trick
* Add asteroid to test requiremts to fix pylint issue
* Fix deprecated function isSet for is_set
* Add loader.py typing
* Improve typing bootstrap
2016-07-27 20:33:49 -07:00
Paulus Schoutsen
f1632496f0
Allow circular dependency with discovery ( #2616 )
2016-07-25 22:49:10 -07:00
Fabian Heredia Montiel
08226a4864
Type Hints - __main__ ( #2574 )
...
* Add __main__ type hints
* Fix most errors of __main__
* Add ignore for script.run()
* Add type annotations for from_config_dict and from_config_file
* Fix errors
* Fix requirement error
* Add mypy type check to tests
* Enable travis typing check
* Messed up the tox deps
* Laxer type checker
2016-07-20 22:38:52 -07:00
Paulus Schoutsen
6714392e9c
Move elevation to core config and clean up HTTP mocking in tests ( #2378 )
...
* Stick version numbers
* Move elevation to core config
* Migrate forecast test to requests-mock
* Migrate YR tests to requests-mock
* Add requests_mock to requirements_test.txt
* Move conf code from bootstrap to config
* More config fixes
* Fix some more issues
* Add test for set config and failing auto detect
2016-06-27 09:02:45 -07:00
Paulus Schoutsen
206e7d7a67
Extend persistent notification support ( #2371 )
2016-06-25 16:40:33 -07:00
Paulus Schoutsen
a70f922a71
ps - add reload core config service ( #2350 )
2016-06-22 09:13:18 -07:00
Per Sandström
f0f1fadee1
redirect daemon file descriptors ( #2103 )
2016-05-19 23:20:07 -07:00
Paulus Schoutsen
e40908d67c
Improve config validation error message
2016-05-07 22:31:22 -07:00
Daniel Høyer Iversen
21dd8162b3
Improve error message for invalid key in config ( #1975 )
...
* Improve error message for invalid key in config
* Refactor log exception in config validation
2016-05-07 07:35:42 -07:00
Paulus Schoutsen
2e79e9d5bb
Correct celcius to celsius ( #1860 )
2016-04-19 20:30:44 -07:00
Jan Harkes
241735c924
Change local library path from {config_dir}/lib to {config_dir}/deps. ( #1799 )
...
Just on the off chance that someone who happens to run as root and also
doesn't correctly parse "just remove config /lib and restart".
2016-04-11 20:07:50 -07:00
Jan Harkes
73859f59f0
Make yaml config parser errors look less like bugs. ( #1776 )
...
Instead of nested tracebacks, show a simpler error message.
Config directory: /home/user/.homeassistant
ERROR:homeassistant.util.yaml:duplicate key: "script"
in "/home/user/.homeassistant/configuration.yaml", line 95, column 0
in "/home/user/.homeassistant/configuration.yaml", line 108, column 0
2016-04-09 15:25:01 -07:00
Paulus Schoutsen
8ef542927f
Add automation config validation
...
* Add automation config validation
* Remove unnecessary dict validator
* Downgrade voluptuous to 0.8.9
* Fix linting
* Address issues
2016-04-04 12:18:58 -07:00
Paulus Schoutsen
f6d584af09
Allow platforms to specify PLATFORM_SCHEMA
2016-04-02 20:10:57 -07:00
Paulus Schoutsen
489c5b8188
bootstrap platform components: adjust instead of replace config
2016-03-31 21:11:14 -07:00
Paulus Schoutsen
ac28228e6b
Either validate component config or platform config
2016-03-29 22:51:33 -07:00
Paulus Schoutsen
a35173a5ff
Surpress silly warnings
2016-03-28 23:46:19 -07:00
Paulus Schoutsen
5baa98b79f
Add initial config validation
2016-03-28 23:46:12 -07:00
Fabian Affolter
897b5c668f
Fix PEP257 issues
2016-03-08 00:06:04 +01:00
Paulus Schoutsen
1bfea626ff
Handle circular setup dependency
2016-02-19 23:20:14 -08:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Ryan Kraus
60dd2d441d
Merge remote-tracking branch 'balloob/dev' into automation-decorator
...
# Conflicts:
# homeassistant/helpers/service.py
# tests/helpers/test_service.py
2016-01-24 22:51:00 -05:00
Ryan Kraus
5830da63b1
Moved service decorator to service helpers
...
Moved the service decorator to the service helpers module and moved the
associated tests.
2016-01-24 22:46:30 -05:00
Ryan Kraus
40dbeb0b60
Another revision on event decorators
...
This revision of event decorators removes much of the complexity. The
decorated functions are no longer wrapped with a class that tracks
last_run, etc. Bootstrap now gives hass to the event_decorators module
before initializing components so the decorators no longer require
activation.
2016-01-24 17:46:05 -05:00
Ryan Kraus
02e634c6a2
Fixed bugs to allow HA to boot again
...
1) helpers/event should not import the sun component unless it is
requested. This prevents circular import.
2) fixed import typo in bootstrap
2) bootstrap cannot import event_decorators until it is needed because
this leads to a circular import.
2016-01-24 15:55:47 -05:00
Ryan Kraus
0f937cad74
Initial pass at event decorators
...
Created event decorators for custom components. Decorators were created
for the events: track_state_change, track_sunrise, track_sunset, and
track_time_change.
2016-01-24 15:28:09 -05:00
Paulus Schoutsen
de08f0afaa
Load YAML config into an ordered dict
2016-01-23 22:41:01 -08:00
Paulus Schoutsen
bdd945c1c4
Set default log level to INFO
2015-12-22 18:39:46 -08:00
MartinHjelmare
5ff6eb8b9c
Fix logging lowest level
...
* Set lowest logging level to NOTSET in enable_logging(), bootstrap.py,
to enable setting a lower logging level than INFO in the logger
component.
2015-12-10 02:56:05 +01:00
Paulus Schoutsen
fabd0ced3f
Make DEPENDENCIES optional for components
2015-11-26 13:11:59 -08:00
Paulus Schoutsen
295f27d259
Only delete lib dir in config upgrade if exists
2015-11-15 02:16:52 -08:00
Paulus Schoutsen
71e4283a2e
Remove lib directory in version upgrade
2015-11-15 02:05:46 -08:00
Paulus Schoutsen
e4c3d47dbf
Expose API to view error log
2015-11-07 01:44:02 -08:00
Paulus Schoutsen
68c2b539ee
More flexible domain config extraction
2015-09-28 23:09:05 -07:00
Paulus Schoutsen
19d40612e6
Add home_range to device tracker
2015-09-20 09:35:03 -07:00
Paulus Schoutsen
f9b17ab026
Device tracker rewrite
2015-09-09 23:37:15 -07:00
Andrew Thigpen
2e636f598e
Add option to rotate log file daily.
...
Adds a command line option to rotate the log daily at midnight and
retain up to the specified amount of days.
2015-09-04 19:52:59 -05:00
Andrew Thigpen
6519e589b5
Add option to skip pip install on startup.
...
Since the requirements only change when the software is updated,
this adds a command line switch to disable pip installs on
startup. The default behavior is maintained when the switch is
not specified. Skipping pip helps a lot with startup on older RPi
hardware.
2015-09-04 16:50:57 -05:00
Ryan Kraus
5b06e8d25e
Daemon handling cleanup.
...
More cleanly handling whether a PID file should be checked.
Fatal Error on PID file IOError.
Pylint fix to bootstrap.
2015-09-01 02:37:52 -04:00
Ryan Kraus
ff470c8ffe
Added core daemon function as flags.
...
Created three additional flags for the hass command:
-v - Toggle verbose log file output
—pid-file - Specify PID file path
—daemon - Launch as daemon (nix only)
The core now binds to SIGQUIT on nix systems to trigger a clean
shutdown.
Modified HTTP server to write logging messages through the logging
module.
2015-09-01 02:12:00 -04:00
Paulus Schoutsen
fb4121d4b4
Fix components being loaded twice
2015-08-30 15:08:03 -07:00
Paulus Schoutsen
a5a1f30798
Make launch more smooth
2015-08-29 23:02:07 -07:00
Ryan Kraus
f5b98c86f0
Mostly PyLint and Flake8 updates.
...
Rewrote imports of exceptions to be from the exceptions module.
Made nmap scanner check for libnmap dependency without crashing.
Various flake8 and pylint updates.
2015-08-29 22:34:35 -04:00
Ryan Kraus
0b6358e759
Implemented comments from Paulus.
...
Revised main to use frontend and demo strings rather than importing
their domains.
Removed submodule validation.
Moved local library mounting to the bootstrap module and out of core.
Added requirements_all.txt for all dependencies.
Made core dependencies looser.
Small updates to setup.py.
2015-08-29 22:19:52 -04:00
Ryan Kraus
6fdf9b8d7c
Many changes to cleanup config directory and lib installations.
...
Cleaned up default config directory determination.
Made bootstrap creators for HA always set config directory.
Made bootstrap creators set the local library in the Python Path.
Moved all exceptions to their own file to make imports easier.
Moved default configuration directory be in the users’ profile.
Moved pip installs to be done to a lib folder in the config directory.
Reduced requirements.txt to only the barebones reqs.
2015-08-29 21:11:24 -04:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Paulus Schoutsen
d2b5f429fe
Remove deprecated code
2015-08-04 16:21:09 -04:00
Paulus Schoutsen
7870e9a5e2
Minor cleanup core
2015-08-03 17:05:33 +02:00
Paulus Schoutsen
b346f6e8ad
Allow installing component dependencies on the fly
2015-07-07 00:00:21 -07:00
eagleamon
bcb4766f95
adds a coloourful log output
2015-06-11 15:01:11 +02:00
Paulus Schoutsen
73dab5a398
Make customize parsing more robust
2015-06-02 21:31:50 -07:00
Paulus Schoutsen
a4e0a7f235
Fix platform discovery not working
2015-05-14 21:36:12 -07:00
Paulus Schoutsen
c523a0b509
Improve error message when prepare_setup_platform fails.
2015-05-11 22:29:53 -07:00
Paulus Schoutsen
4eeaa16f16
Convert some double to single quotes.
2015-05-11 22:23:38 -07:00
Paulus Schoutsen
e630476f9f
Allow platforms to specify dependencies
2015-05-11 22:23:20 -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
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
f77b3dbd0a
Added decorate option to configuration file to allow a user to set custom images for different entities.
2015-04-25 00:39:35 -04:00
Paulus Schoutsen
b855f422ef
Tweak visibility config
2015-04-23 06:41:41 -07:00
Ryan Kraus
ff3dacedc0
Moved card visibility logic out of the Entity class and into a VisibilityABC. Then made the Group class inherit the VisibilityABC. No duplication of code now. This is definitely better.
2015-04-22 21:21:50 -04:00
Ryan Kraus
8fcf814eb6
Changed visbility property in configuration.yaml to a hash instead of a list of a single hash.
2015-04-22 21:07:23 -04:00
Ryan Kraus
b20424261c
1) Performed many pylint and flake8 fixes to clean up isy994 integration and hidden entities addition. 2) Added necessary code to allow groups to also be hidden. 3) Made most of the weather data from the isy994 component be hidden by default.
2015-04-15 02:05:34 -04:00
Ryan Kraus
a3d6972268
1) Added basic back-end framework for supporting hidden entities. 2) Enabled hidden suggestions in the isy994 component entities.
2015-04-14 22:57:32 -04:00
Paulus Schoutsen
2863c2d593
Made bootstrap.setup_component more robust
2015-03-21 22:06:59 -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
a2558972b9
Empty configuration.yaml no longer crashes setup
2015-03-16 22:20:35 -07:00
theolind
1206c2113c
Fixed style error, a line was too long
2015-02-28 20:31:26 +01:00
theolind
461e0d0314
Now converting config values to dictionaries if they are None
2015-02-28 20:17:50 +01:00
theolind
8da1fb1d74
Added example yaml config file, removed old example config, fixed style violation in bootstrap.py
2015-02-28 18:59:45 +01:00
theolind
f2b602c7ec
Added logic to main that prefers .yaml-config over .conf
2015-02-28 17:42:23 +01:00
theolind
223d2c2c3f
Added support for YAML files, now with included python modules
2015-02-28 17:05:38 +01:00
theolind
356732189c
Added support for YAML configuration files
2015-02-28 16:56:58 +01:00
Paulus Schoutsen
7dd7c489e8
Fire event for loading component/adding service
2015-02-13 22:49:56 -08:00
Paulus Schoutsen
13ac71bdf0
Clean up http related components
2015-01-30 08:26:06 -08:00
Paulus Schoutsen
8feeafd8a3
Refactor http into frontend and api component
2015-01-29 23:56:21 -08:00
Paulus Schoutsen
5f0f06b22d
Add command-line toggle to run in demo mode
2015-01-17 22:23:07 -08:00
Paulus Schoutsen
8c62ae4ce5
Integrate add worker to bootstrap.setup_component
2015-01-14 23:18:44 -08:00
Paulus Schoutsen
ba179bc638
Automatic discovery and setting up of devices
2015-01-09 00:07:58 -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
e2b434b24e
Log file now also contains warnings
2014-12-12 08:15:34 -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
5fe73cf33e
Made dependency loading more robust
2014-11-28 15:36:21 -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
506496743d
Cleaning up the code
2014-10-24 23:44:00 -07:00
Paulus Schoutsen
7eafa5805a
In rare occasion the group component would not load
2014-10-22 08:12:32 -07:00
Paulus Schoutsen
c69b9aefec
Bug fix: group not always loaded
2014-10-21 23:51:23 -07:00
Paulus Schoutsen
17eefcffbe
Home Assistant no longer crashes if it cannot write its log file
2014-09-22 21:44:26 -05: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
b30aeb1777
Merge pull request #3 from fingon/process-source-up
...
Added a simple process state monitor
2014-04-24 14:47:07 -07:00
Markus Stenberg
88fd75b4c7
Addressed the comments in the issue. pep8+pylint seem fine now. (still works, too.)
2014-04-24 17:13:57 +03:00
Markus Stenberg
39d1fad8cc
Merge remote-tracking branch 'up/master' into process-source-up
2014-04-24 17:00:46 +03:00
Markus Stenberg
fc6c2fbc18
Merge remote-tracking branch 'up/master' into luci-checker
2014-04-24 16:31:03 +03:00
Paulus Schoutsen
2e10d7223a
Re-organized core for better reusability
2014-04-24 00:40:45 -07:00
Markus Stenberg
e36a53eea6
Added simple process state monitor source.
2014-04-23 23:55:22 +03:00
Paulus Schoutsen
3757ddf9df
Add option to set fixed hosts for chromecasts instead of discovery
2014-04-21 17:58:58 -07:00
Markus Stenberg
ed31b6a527
Added LuciDeviceScanner to scan OpenWrt Luci-RPC enabled router's state.
2014-04-21 22:51:50 +03: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
8fdf2d608a
Cleanup of core services
2014-04-13 12:59:45 -07:00
Paulus Schoutsen
90769fc0eb
Lights now support profiles
2014-03-26 00:20:02 -07:00
Paulus Schoutsen
6063ffeb5b
Added WeMo support
2014-03-23 12:03:34 -07:00
Paulus Schoutsen
75a0498080
Upgraded to use new version of pychromecast
2014-03-11 22:45:05 -07:00
Paulus Schoutsen
086cf77443
Only wipe old logging file when reason to write new one.
2014-01-29 21:41:03 -08:00
Paulus Schoutsen
24b2fba170
Errors are now being logged to the file home-assistant.log
2014-01-29 18:44:39 -08:00
Paulus Schoutsen
097a51abc6
Refactored component 'general' into components.__init__
2014-01-23 23:26:00 -08:00
Paulus Schoutsen
0fc3d359cb
Moved stuff away from core. Made component interface more uniform.
2014-01-23 22:03:13 -08:00
Paulus Schoutsen
87817de805
PEP8 style fix for bootstrap
2014-01-23 21:34:08 -08:00
Paulus Schoutsen
36e28dbc80
Bootstrap only loads modules into memory that it will init
2014-01-23 17:46:29 -08:00
Paulus Schoutsen
e9e1b007ed
RENAME: StateMachine tracks now entities, not categories.
2014-01-19 23:37:40 -08:00
Paulus Schoutsen
48026c28c1
Added state groups and migrated code base to use them.
2014-01-04 17:55:05 -08:00
Paulus Schoutsen
367433acb2
Some code cleanup
2014-01-04 13:48:17 -08:00
Paulus Schoutsen
e3b00ffc71
Added support for Netgear wireless routers (tested with R6300)
2013-12-11 20:43:26 -08:00
Paulus Schoutsen
dd271febae
Reorg: Merged observers, actors and HTTPInterface into components
2013-12-11 00:07:30 -08:00
Paulus Schoutsen
8a0ca534a2
Moved actor helper functions to observer package
2013-12-10 00:16:51 -08:00
Paulus Schoutsen
aedcaf04a4
Lights now fully controlled via statemachine and services
2013-12-09 23:41:44 -08:00
Paulus Schoutsen
28a6400d89
Track states of lights in state machine.
2013-12-07 12:57:27 -08:00
Paulus Schoutsen
08f4c70b4e
Added tracking state of ChromeCast
2013-12-07 11:42:13 -08:00
Paulus Schoutsen
3641d2ca24
EventBus is now Bus that handles Events and Services
2013-11-19 23:48:08 -08:00
Paulus Schoutsen
483546a31d
Code according to PEP8 standard
2013-11-10 16:46:48 -08:00
Paulus Schoutsen
054d14d5de
Bootstrapper now does not need a host option to load Hue
2013-10-31 18:30:45 -07:00
Paulus Schoutsen
05472481c5
Making the config bootstrap more verbose about what started
2013-10-21 22:06:22 -07:00
Paulus Schoutsen
0d156ecbf0
Moved bootstrap code to a seperate bootstrap module.
2013-10-13 10:42:22 -07:00