Ville Skyttä
384f63dd1d
Typing fixes ( #12015 )
...
* .gitignore: Add .mypy_cache
* Typing fixes
2018-01-29 00:24:08 -08:00
Ville Skyttä
55ee8959ba
Spelling fixes ( #11940 )
2018-01-27 11:58:27 -08:00
Fabian Affolter
47e31dc9ee
Fixes for PEP257 ( #11810 )
...
* Fixes for PEP257
* More updates
2018-01-20 22:35:38 -08:00
Paulus Schoutsen
ca54bbfcc9
RFC: Use bind_hass for helpers ( #9745 )
...
* Add Helpers bind_hass functionality
* Update other helpers
2017-10-08 08:17:54 -07:00
Paulus Schoutsen
d3be056d15
Expose all components on hass [Concept] ( #8490 )
...
* Add components concept
* Lint
* Raise ImportError if component not found
2017-07-16 09:23:06 -07:00
Fabian Affolter
cfc023e128
Don't use len(SEQUENCE) as condition value ( #7249 )
...
* Don't use len(SEQUENCE) as condition value
* Update volvooncall.py
2017-04-23 20:41:09 -07:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Johann Kellerman
fdc373f27e
Restore_state helper to restore entity states from the DB on startup ( #4614 )
...
* Restore states
* feedback
* Remove component move into recorder
* space
* helper
* Address my own comments
* Improve test coverage
* Add test for light restore state
2017-02-20 23:40:27 -08:00
Paulus Schoutsen
f29ee24b72
Do not allow config dependency ( #6036 )
...
* Do not allow config dependency
* Prevent config in discovery
* Migrate to blacklist
2017-02-18 11:31:37 -08:00
Johan Bloemberg
9925b2a8e0
Load mqtt_eventstream before any other component. ( #5629 )
...
This ensures that initial state changes for components are broadcasted on the MQTT bus.
2017-01-31 08:02:28 -08: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
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
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
Fabian Affolter
897b5c668f
Fix PEP257 issues
2016-03-08 00:06:04 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
fabd0ced3f
Make DEPENDENCIES optional for components
2015-11-26 13:11:59 -08:00
badele
6f06f48ac6
Ensure the component is loaded first
2015-11-06 22:57:03 +01:00
Paulus Schoutsen
ba7b9c625e
Add an introduction component to support first usage
2015-08-27 01:06:41 -07:00
Paulus Schoutsen
7870e9a5e2
Minor cleanup core
2015-08-03 17:05:33 +02: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
b459a29947
Fix style issues
2015-03-16 22:45:42 -07:00
Paulus Schoutsen
a4af51af14
No longer auto load recorder and group components
2015-03-16 22:20:35 -07:00
Paulus Schoutsen
7938cbffd4
Suppress specific import errors in the loader
2015-03-01 10:40:07 -08:00
Paulus Schoutsen
3c95d80d3e
Ensure recorder loaded first to capture all
2015-01-31 20:05:18 -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
5fe73cf33e
Made dependency loading more robust
2014-11-28 15:36:21 -08:00
Paulus Schoutsen
5cbe7bf1b8
Added tests for switch component
2014-11-25 00:20:36 -08:00
Paulus Schoutsen
973ce21353
Improve flexibility of the loader
2014-11-14 23:17:18 -08:00
Paulus Schoutsen
9f9b926011
All platforms supported by components have their own file - you can can have custom platforms
2014-11-11 21:39:17 -08:00
Paulus Schoutsen
1e136a2416
Logging is more efficient
2014-11-08 13:59:40 -08:00
Paulus Schoutsen
c3c1383ae6
More error checking added on start
2014-11-08 11:01:47 -08:00
Paulus Schoutsen
aa80841519
Loader no longer crashes if custom_components folder does not exists in the config dir
2014-11-05 07:56:36 -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