Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
14e66ffe
Unverified
Commit
14e66ffe
authored
1 month ago
by
Joost Lekkerkerker
Committed by
GitHub
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Fetch integration list from next branch for analytics insights (#137250)
Fetch integration list from next branch
parent
fa40d02a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
homeassistant/components/analytics_insights/config_flow.py
+3
-3
3 additions, 3 deletions
homeassistant/components/analytics_insights/config_flow.py
with
3 additions
and
3 deletions
homeassistant/components/analytics_insights/config_flow.py
+
3
−
3
View file @
14e66ffe
...
...
@@ -8,7 +8,7 @@ from python_homeassistant_analytics import (
HomeassistantAnalyticsClient
,
HomeassistantAnalyticsConnectionError
,
)
from
python_homeassistant_analytics.models
import
IntegrationType
from
python_homeassistant_analytics.models
import
Environment
,
IntegrationType
import
voluptuous
as
vol
from
homeassistant.config_entries
import
ConfigFlow
,
ConfigFlowResult
,
OptionsFlow
...
...
@@ -81,7 +81,7 @@ class HomeassistantAnalyticsConfigFlow(ConfigFlow, domain=DOMAIN):
)
try
:
addons
=
await
client
.
get_addons
()
integrations
=
await
client
.
get_integrations
()
integrations
=
await
client
.
get_integrations
(
Environment
.
NEXT
)
custom_integrations
=
await
client
.
get_custom_integrations
()
except
HomeassistantAnalyticsConnectionError
:
LOGGER
.
exception
(
"
Error connecting to Home Assistant analytics
"
)
...
...
@@ -165,7 +165,7 @@ class HomeassistantAnalyticsOptionsFlowHandler(OptionsFlow):
)
try
:
addons
=
await
client
.
get_addons
()
integrations
=
await
client
.
get_integrations
()
integrations
=
await
client
.
get_integrations
(
Environment
.
NEXT
)
custom_integrations
=
await
client
.
get_custom_integrations
()
except
HomeassistantAnalyticsConnectionError
:
LOGGER
.
exception
(
"
Error connecting to Home Assistant analytics
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment