emontnemery
b1faad0a50
Use PLATFORM_SCHEMA_BASE as base schema for additional components. ( #20578 )
...
* Disable extra=vol.ALLOW_EXTRA for additional platforms.
* Remove PLATFORM_SCHEMA_2
* Add entity_namespace to base platform schema
2019-02-04 21:52:19 -08:00
emontnemery
bada9b5e0b
Add entity_namespace to PLATFORM_SCHEMA ( #20693 )
...
* Add entity_namespace to base platform schema
* Add test
* Fix
2019-02-02 18:31:28 +01:00
emontnemery
d7ba2aad1d
Add COMPONENT_SCHEMA and use it in alarm_control_panel ( #20224 )
...
* Add COMPONENT_SCHEMA and use in alarm and mqtt
* Revert MQTT changes
* Lint
* Small tweak
* Add tests
* Rename COMPONENT_SCHEMA to PLATFORM_SCHEMA_BASE
* Fix tests
* Improve tests
2019-01-28 16:14:55 -08:00
Paulus Schoutsen
48e28843e6
OwnTracks Config Entry ( #18759 )
...
* OwnTracks Config Entry
* Fix test
* Fix headers
* Lint
* Username for android only
* Update translations
* Tweak translation
* Create config entry if not there
* Update reqs
* Types
* Lint
2018-11-28 22:20:13 +01:00
Ville Skyttä
dd9d53c83e
Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 ( #14557 )
...
* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0
* Pydocstyle D401 fixes
2018-08-24 10:28:43 +02:00
Ville Skyttä
dbd0763f83
Grammar and spelling fixes ( #16065 )
2018-08-19 22:29:08 +02:00
Paulus Schoutsen
83d300fd11
Custom component loading cleanup ( #14211 )
...
* Clean up custom component loading
* Fix some tests
* Fix some stuff
* Make imports work again
* Fix tests
* Remove debug print
* Lint
2018-05-01 20:57:30 +02:00
Paulus Schoutsen
ec1c395f09
Extract requirements ( #12051 )
2018-01-30 12:30:47 +01:00
Anders Melchiorsen
02c3ea1917
Silence redundant warnings about slow setup ( #11352 )
...
* Downgrade slow domain setup warning
* Revert "Downgrade slow domain setup warning"
This reverts commit 64472c006b
.
* Remove warning for entity components
* Remove lint
* Fix original test with extra call
2018-01-02 12:16:32 -08:00
Martin Hjelmare
543e8bb62e
Fix check for running inside venv ( #8481 )
...
* Import and use the function from pip instead of defining it
ourselves.
* Fix tests.
2017-07-15 07:25:02 -07:00
Martin Hjelmare
ba019c799a
Make deps directory persistent over upgrades ( #7801 )
...
* Use pip install --user if venv not active
* Set PYTHONUSERBASE to deps directory, when installing with --user
option.
* Reset --prefix option to workaround incompatability when installing
with --user option. This requires pip version 8.0.0 or greater.
* Require pip version 8.0.3.
* Do not delete deps directory on home assistant upgrade.
* Fix local lib mount and check package exist.
* Update and add tests
* Fix upgrade from before version 0.46
* Extract function to get user site
* Add function(s) to package util to get user site.
* Use async subprocess for one of the functions to get user site.
* Add function to package util to check if virtual environment is
active.
* Add and update tests.
* Update version for last removal of deps dir
* Address comments
* Rewrite package util tests with pytest
* Rewrite all existing unittest class based tests for package util as
test functions, and capitalize pytest fixtures.
* Add test for installing with target inside venv.
2017-07-13 19:26:21 -07:00
Pascal Vizeli
814834512a
Group service / dynamic handling ( #7971 )
...
* Add Service to group
* Finish service
* Add service functions
* fix lint
* Address paulus comments
* fix lint & cleanup
* fix lint
* fix lint
* fix lint p3
* add test for check group
* add more tests
* fix lint
* Update service.yaml
* Fix order for tests
* Fix comment
* Fix test
* Fix tests
* Fix name in tests
* Fix view
* Fix default value
* Fix lint
* Fix key error
* add name
* migrate component entity
* fix tests
* fix import
* migrate device tracker
* fix lint
* fix bug
* fix logic
* fix lint
* fix tests
* fix generator
* fix group
* fix other tests.
* Not need to load group on first stage anymore.
* fix service
* add more group depency
* fix tests
* Revert "fix tests"
This reverts commit 35a922b3a8
.
* Real fix
* fix test p2
* fix test p3
* fix test p4
* fix test p5
* fix test p6
* fix lint
* fix test p7
* Rename attribute
* fix group test
* fix bug
* fix flagy tests
* fix service.yaml
* fix lint
2017-06-16 00:52:28 +02:00
Paulus Schoutsen
bb4f23f8e7
Add warning for slow platforms/components ( #6467 )
...
* Add warning for slow platforms/components
* Add test for slow component setup.
* Add test for slow platform setup
* Fix tests on Py34
2017-03-07 20:31:57 -08:00
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00