squidwardy
8e173f1658
Add support for JS modules in custom panels ( #16096 )
...
* Added backend support for JavaScript modules in custom panels.
* Fixed test_panel_custom.py
* Delete core.entity_registry
* Update panel_custom.py
* Corrected panel_custom.py with module_url.
* Rebase
* Missed elif
* Add vol.Exclusive module_url
* Correct vol.Exclusive usage
* Test for js module
* Corrected line continuation indentation
* Added webcomponent path to exclusive group
* Corrected line length
* Line break
* Test for conflicting url options
* Self -> hass fix
* Fix self -> hass again
* Use assert_setup_component
* Setup missing
* Correct test
* Fix again
* Fix
* Mising async
* Fix
* test real
* Test real
* Final
* check
* Final check
* safety
* Final commit and check
* Removed unused dependencies
* Test for multiple url options in config
2018-08-23 11:14:18 +02:00
Paulus Schoutsen
f6eb9e79d5
Custom panel ( #14708 )
...
* Add support for custom panels in JS
* Allow specifying JS custom panels
* Add trust external option
* Fix tests
* Do I/O outside event loop
* Change config to avoid breaking change
2018-06-01 10:06:17 -04:00
Paulus Schoutsen
a943b207ba
Fix panel_custom ( #10303 )
...
* Fix panel_custom
* lint
2017-11-03 10:28:31 +01:00
Paulus Schoutsen
2bdad5388b
Consolidate frontend ( #9915 )
...
* Consolidate frontend
* Remove home-assistant-polymer submodule
* Convert to using a pypi package for frontend
* fix release script
* Lint
* Remove unused file
* Remove frontend related scripts
* Move hass_frontend to frontend REQUIREMENTS
* Fix tests
* lint
* Address comments
* Lint + fix tests in py34
* Fix py34 tests again
* fix typo
2017-10-24 19:36:27 -07:00
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01: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
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
Rob Capellini
272539105f
Replacing tempfile with mock_open in tests ( #3753 )
...
- test_bootstrap.py
- test_config.py
- components/test_init.py
- components/test_panel_custom.py
- components/test_api.py
- components/notify/test_file.py
- components/notify/test_demo.py
- components/camera/test_local_file.py
- helpers/test_config_validation.py
- util/test_package.py
- util/test_yaml.py
No changes needed in:
- components/cover/test_command_line.py
- components/switch/test_command_line.py
- components/rollershutter/test_command_line.py
- components/test_shell_command.py
- components/notify/test_command_line.py
Misc changes in:
- components/mqtt/test_server.py
Also, removed some unused mock parameters in tests/components/mqtt/test_server.py.
2016-10-17 20:16:36 -07:00
Paulus Schoutsen
8081fe794e
Add panel custom to load any webcomponent ( #2747 )
2016-08-08 17:35:46 -07:00