Paulus Schoutsen and GitHub
440570244d
Don't swallow all errors when checking for config validator platform ( #42058 )
2020-10-19 17:09:57 +02:00
343e5d64b8
Add MQTT integration discovery ( #41332 )
...
* Add MQTT integration discovery
* Add script/hassfest/mqtt.py
* Unsubscribe if config entry exists
* Add homeassistant/generated/mqtt.py
* Fix bad loop
* Improve tests
* Improve tests
* Apply suggestions from code review
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch >
* Prevent initiating multiple config flows
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch >
2020-10-07 18:30:51 +02:00
9389a7c9be
Limit zeroconf discovery to name/macaddress when provided ( #39877 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-09-11 12:19:21 +02:00
Paulus Schoutsen and GitHub
2a9da208d4
Allow disabling integrations in manifest, block uuid package being installed and disable ezviz ( #38444 )
2020-08-26 10:20:14 +02:00
d0d0403664
Add zeroconf/homekit/ssdp discovery support for custom components ( #38466 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-08-05 15:50:56 +02:00
Paulus Schoutsen and GitHub
5642027ffb
Improve after_dependencies handling ( #36898 )
2020-06-19 17:24:33 -07:00
Paulus Schoutsen and GitHub
8f3c84b349
Mark config dependency of frontend ( #36587 )
2020-06-09 23:27:47 -07:00
Franck Nijhof and GitHub
4395fe9298
Remove logo & icon from manifest ( #35410 )
2020-05-10 11:10:44 -04:00
Ville Skyttä and GitHub
b4404b071f
Pylint cleanups ( #35409 )
...
* Avoid some outer name redefinitions
* Remove unneeded directives
* Narrow directive scope
* Don't disable redefined-variable-type
2020-05-09 14:08:40 +03:00
Franck Nijhof and GitHub
9983c43697
Add issue_tracker property to manifest ( #35153 )
2020-05-05 11:00:00 -07:00
Paulus Schoutsen and GitHub
9f1bffe3be
Add command to get integration manifests ( #34262 )
...
* Add command to get integration manifests
* Add is_built_in value to manifest
* Update APIs
2020-04-15 13:36:16 -07:00
springstan and GitHub
b2af1de273
Improve string formatting v9 ( #34050 )
...
* Improve string formatting v9
* Address review comments
2020-04-12 17:18:09 +02:00
springstan and GitHub
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +02:00
Franck Nijhof and GitHub
b9b1cee403
Enable pylint import-outside-toplevel ( #33631 )
2020-04-04 17:07:36 +02:00
Ville Skyttä and GitHub
e86919a997
Type hint improvements ( #32793 )
2020-03-14 11:39:28 +01:00
Dave T and GitHub
df86668dfc
Correct grammatical error in CUSTOM_WARNING ( #32569 )
2020-03-09 09:40:08 +01:00
Paulus Schoutsen and GitHub
beee1298c5
Extend safe mode ( #31927 )
...
* Extend safe mode
* Add safe mode boolean to config JSON output and default Lovelace
* Add safe mode to frontend
* Update accent color
2020-02-18 11:52:38 -08:00
Franck Nijhof and GitHub
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
Franck Nijhof and Paulus Schoutsen
c0bc4bb550
Add logo & icon support to Manifest ( #31131 )
...
* Add logo & icon support to Manifest
* Add URL validation
2020-01-24 14:36:22 -08:00
Franck Nijhof and Paulus Schoutsen
e18426051b
Add Integration Quality Scale to manifest ( #30547 )
2020-01-07 17:21:56 +01:00
Ville Skyttä and GitHub
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Franck Nijhof and Paulus Schoutsen
0439d6964c
Fix persistent setup error notification content ( #29995 )
...
* Fix persistent setup error notification content
* Use documentation from manifest, enriched error messages
* Fix issue caught by mypy
2019-12-16 20:16:23 +01:00
Paulus Schoutsen and Pascal Vizeli
27244e29c4
Install discovery requirements if used ( #29795 )
...
* Install discovery requirements if used
* Update loader.py
* Fix types
2019-12-10 09:24:49 +01:00
Bas Nijholt and Franck Nijhof
67c56c860d
Sort imports according to PEP8 for 'homeassistant' folder ( #29789 )
...
Components are already done
2019-12-09 16:42:10 +01:00
Ville Skyttä and Paulus Schoutsen
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
Ville Skyttä and Fabian Affolter
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Franck Nijhof and Paulus Schoutsen
04ab20846a
Bump black to 19.10b0 ( #28310 )
2019-10-28 23:32:34 -07:00
Erik Montnemery and GitHub
e57e7e8449
Improve validation of device trigger config ( #26910 )
...
* Improve validation of device trigger config
* Remove action and condition checks
* Move config validation to own file
* Fix tests
* Fixes
* Fixes
* Small tweak
2019-09-27 17:48:48 +02:00
Ville Skyttä and GitHub
33e1b44b3a
Use PEP 526 type annotations, add some type hints ( #26464 )
...
* Add some more type hints to helpers.event
* Change most type comments to variable types
* Remove some superfluous type hints
2019-09-07 09:48:58 +03:00
Franck Nijhof and Paulus Schoutsen
2f0eb07624
Migrate legacy typehints in core to PEP-526 ( #26403 )
...
* Migrate legacy typehints in core to PEP-526
* Fix one type
2019-09-03 20:36:04 -07:00
Franck Nijhof and Paulus Schoutsen
decf13b948
Use literal string interpolation in core (f-strings) ( #26166 )
2019-08-23 09:53:33 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Ville Skyttä and Paulus Schoutsen
17d754dbbf
Optional and Union simplifications ( #25365 )
2019-07-21 10:59:51 -07:00
nierob and Paulus Schoutsen
979f801488
Avoid creating temporary lists ( #25317 )
...
That gives nano performance improvements as *() is slightly faster
then *[].
2019-07-19 13:36:18 -07:00
Joakim Plate and GitHub
2fbbcafaed
Support config flow on custom components ( #24946 )
...
* Support populating list of flows from custom components
* Re-allow custom component config flows
* Add tests for custom component retrieval
* Don't crash view if no handler exist
* Use get_custom_components instead fo resolve_from_root
* Switch to using an event instead of lock
* Leave list of integrations as set
* The returned list is not guaranteed to be ordered
Backend uses a set to represent them.
2019-07-09 01:19:37 +02:00
Franck Nijhof and Paulus Schoutsen
31f569ada9
Batch of Component(s) -> Integration(s) ( #24972 )
2019-07-05 15:24:26 -07:00
Paulus Schoutsen and GitHub
319ac23736
Warn when user tries run custom config flow ( #24657 )
2019-06-20 13:22:12 -07:00
Paulus Schoutsen and GitHub
72bbe2203e
Dont cache integrations that are not found ( #23316 )
2019-04-22 22:06:58 -07:00
Paulus Schoutsen and Jason Hu
77244eab1e
Fix empty components ( #23177 )
2019-04-17 19:17:13 -07:00
Paulus Schoutsen and GitHub
10e8f4f70a
Add support for after_dependencies ( #23148 )
...
* Add support for after_dependencies
* Remove assert false"
* Fix types
2019-04-16 13:40:21 -07:00
Paulus Schoutsen and GitHub
8b86bf7dd2
Load integrations only once ( #23132 )
2019-04-15 20:38:24 -07:00
Paulus Schoutsen and GitHub
6a2da9f9a5
load cleanups ( #23112 )
...
* load cleanups
* Remove unused methods
* Allow importing requirements at the top of a file
* Fix test
* Lint
* Install reqs ASAP when loading platforms
2019-04-15 16:45:46 -07:00
Paulus Schoutsen and Jason Hu
b0d893afc9
Remove loader.get_component ( #23111 )
...
* Remove get_component
* Lint
2019-04-14 22:31:01 -07:00
Paulus Schoutsen and GitHub
d722f4d64a
Further integration load cleanups ( #23104 )
...
* Further integration load cleanups
* Fix tests
* Unflake MQTT vacuum command test
2019-04-14 19:07:05 -07:00
Paulus Schoutsen and GitHub
6b0180f753
Fix demo ( #23087 )
...
* Fix demo
* Fix types
* Fix all the things
* Fix type
* Fix test
* Lint
2019-04-14 16:59:06 -07:00
Paulus Schoutsen and GitHub
3368e30279
Migrate packages and check config ( #23082 )
...
* Migrate packages and check config
* Fix typing
* Fix check config script
2019-04-14 07:23:01 -07:00
Paulus Schoutsen and GitHub
f7d4c48199
Convert service helper to use async_get_integration ( #23023 )
...
* Convert service helper to use async_get_integration
* Fix tests
2019-04-12 10:09:17 -07:00
Rohan Kapoor and Jason Hu
6ba9ccf052
Load requirements and dependencies from manifests. Fallback to current REQUIREMENTS and DEPENDENCIES ( #22717 )
...
* Load dependencies from manifests. Fallback to current DEPENDENCIES
* Fix typing
* Ignore typing correctly
* Split out dependency processing to a new method
* Fix tests
* Only pull from manifest if dependencies is non empty
* Inline temporary function
* Fix light tests [skip ci]
* Fix tests/common
* Fix some mqtt tests [skip ci]
* Fix tests and component manifests which have only one platform
* Fix rflink tests
* Fix more tests and manifests
* Readability over shorthand format
* Fix demo/notify tests
* Load dependencies from manifests. Fallback to current DEPENDENCIES
* Load requirements from manifests. Fallback to current REQUIREMENTS
* Fix typing
* Ignore typing correctly
* Split out dependency processing to a new method
* Only pull from manifest if dependencies is non empty
* Inline temporary function
* Fix tests and component manifests which have only one platform
* Fix rflink tests
* Readability over shorthand format
* Clean up requirements
* Use integration to resolve deps/reqs
* Lint
* Lint
* revert a change
* Revert a test change
* Fix types
* Fix types
* Add back cache for load component
* Fix test_component_not_found
* Move light.test and device_tracker.test into test package instead with manifest to fix tests
* Fix broken device_tracker tests
* Add docstrings to __init__
* Fix all of the light tests that I broke earlier
* Embed the test.switch platform to fix other tests
* Embed and fix the test.imagimage_processing platform
* Fix tests for nx584
* Add dependencies from platform file's DEPENDENCIES
* Try to setup component when entity_platform is setting up
Fix tests in helpers folder
* Rewrite test_setup
* Simplify
* Lint
* Disable demo component if running in test
Temp workaround to unblock CI tests
* Skip demo tests
* Fix config entry test
* Fix repeat test
* Clarify doc
* One extra guard
* Fix import
* Lint
* Workaround google tts
2019-04-11 01:26:36 -07:00
Paulus Schoutsen and GitHub
e48ef7f441
Fix broken platform components ( #22943 )
...
* Fix broken platform components
* Lint
2019-04-09 15:42:44 -07:00
Paulus Schoutsen and Jason Hu
cac00f5b26
Test for circular dependencies using manifests ( #22908 )
...
* Integration dependencies
* Lint
* Lint
* Fix one test
* Lint
* Fix load custom component integration
Fix async issue
Add circular dependency detection in manifest validation
* Fix test
* Address review comment
* Apply suggestions from code review
Co-Authored-By: balloob <paulus@home-assistant.io >
2019-04-09 09:30:32 -07:00