Provide api to see which integrations are being loaded#48274
Merged
bdraco merged 30 commits intohome-assistant:devfrom Apr 5, 2021
Merged
Provide api to see which integrations are being loaded#48274bdraco merged 30 commits intohome-assistant:devfrom
bdraco merged 30 commits intohome-assistant:devfrom
Conversation
Member
Author
|
I think I should make With async_start_setup(hass, names): Pushes into On finish into Places we need it:
|
Member
Author
|
9 tasks
f5dd39b to
21c7d99
Compare
8ea169e to
815bd1a
Compare
Member
Author
|
rebase to fix conflict only |
frenck
reviewed
Mar 30, 2021
bdraco
commented
Mar 30, 2021
5751cc2 to
d7ab25e
Compare
d7ab25e to
12c99cf
Compare
bdraco
commented
Apr 4, 2021
MartinHjelmare
approved these changes
Apr 4, 2021
Member
MartinHjelmare
left a comment
There was a problem hiding this comment.
Looks good!
Would be good with some more eyes and thoughts.
balloob
reviewed
Apr 5, 2021
balloob
reviewed
Apr 5, 2021
balloob
reviewed
Apr 5, 2021
balloob
reviewed
Apr 5, 2021
balloob
approved these changes
Apr 5, 2021
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
bdraco
commented
Apr 5, 2021
bdraco
commented
Apr 5, 2021
Member
Author
|
Thanks. Retested 👍 Frontend PR adjusted to the new name. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs #48269 since device trackers are not being added to the components
Proposed change
This is much easier to review without whitespace changes due to the context manager addition
Goals
Frontend home-assistant/frontend#8720
2021-03-26 08:59:01 INFO (MainThread) [homeassistant.bootstrap] Integration setup times: {'logger': 0.001837, 'onboarding': 0.002468, 'search': 0.002993, 'lock': 0.004147, 'webhook': 0.004786, 'frontend': 0.005408, 'alexa': 0.00748, 'stream': 0.009616, 'http': 0.011046, 'image': 0.012741, 'cover': 0.0138, 'system_log': 0.017852, 'device_automation': 0.019021, 'config': 0.044177, 'sensor': 0.045179, 'fan': 0.051967, 'cloud': 0.053339, 'my': 0.054587, 'recorder': 0.055922, 'vacuum': 0.080255, 'api': 0.081303, 'auth': 0.088869, 'light': 0.091841, 'default_config': 0.093249, 'rest_command': 0.100522, 'lovelace': 0.103624, 'dhcp': 0.105445, 'websocket_api': 0.110111, 'script': 0.113537, 'emulated_hue': 0.120521, 'binary_sensor': 0.145037, 'weather': 0.197711, 'media_player': 0.204634, 'switch': 0.241131, 'cast': 0.313861, 'person': 0.341786, 'homekit': 0.344398, 'ssdp': 0.444936, 'homekit_controller': 0.670873, 'doorbird': 0.714473, 'climate': 0.740771, 'history': 0.783979, 'blueprint': 0.806934, 'media_source': 0.869515, 'sun': 0.876625, 'shell_command': 0.880883, 'threading': 0.881798, 'remote': 0.885051, 'map': 0.913215, 'trace': 0.937068, 'autelis': 0.937501, 'filter': 0.958175, 'enphase_envoy': 0.961878, 'somfy': 0.96544, 'automation': 0.967931, 'homeassistant': 1.117395, 'sonos': 1.231818, 'systemmonitor': 1.297367, 'zeroconf': 1.421767, 'logbook': 1.541961, 'system_health': 1.574957, 'flume': 1.658237, 'scene': 1.676498, 'profiler': 1.678715, 'tag': 1.729499, 'upnp': 1.809989, 'heos': 1.91246, 'unifi': 1.951867, 'timer': 1.978993, 'camera': 2.00041, 'ffmpeg': 2.001187, 'denonavr': 2.070011, 'mobile_app': 2.25135, 'template': 2.261124, 'nut': 2.53838, 'apple_tv': 2.602957, 'counter': 2.717594, 'input_datetime': 2.730172, 'tts': 2.778089, 'updater': 2.853858, 'openweathermap': 3.065485, 'samsungtv': 3.203091, 'group': 3.27649, 'harmony': 3.696712, 'rachio': 4.201295, 'ipp': 4.290456, 'roku': 4.433694, 'input_text': 4.929488, 'synology_dsm': 4.958669, 'zone': 4.987181, 'input_number': 4.996274, 'bond': 5.327438, 'input_boolean': 5.853331, 'screenlogic': 5.921358, 'notify': 5.929316, 'lutron_caseta': 6.010032, 'input_select': 6.024482, 'rest': 6.607305, 'sense': 6.637527, 'smartir': 6.648064, 'august': 6.659398, 'faa_delays': 6.986708, 'icloud3': 7.141761, 'device_tracker': 7.340055, 'unifiprotect': 7.423218, 'roomba': 7.626561, 'senseme': 7.818574, 'hacs': 8.534149, 'tesla': 9.586424, 'emonitor': 9.692194, 'isy994': 11.400433, 'ping': 15.259365, 'esphome': 21.798107, 'broadlink': 32.379421}This has already helped identify some integrations that could be sped up:
Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: