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
6f926d0a
Unverified
Commit
6f926d0a
authored
2 weeks ago
by
Simone Chemelli
Committed by
GitHub
2 weeks ago
Browse files
Options
Downloads
Patches
Plain Diff
Add missing typing to Vodafone Station (#140562)
parent
9f801e77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
homeassistant/components/vodafone_station/config_flow.py
+3
-7
3 additions, 7 deletions
homeassistant/components/vodafone_station/config_flow.py
with
3 additions
and
7 deletions
homeassistant/components/vodafone_station/config_flow.py
+
3
−
7
View file @
6f926d0a
...
...
@@ -12,16 +12,12 @@ from homeassistant.components.device_tracker import (
CONF_CONSIDER_HOME
,
DEFAULT_CONSIDER_HOME
,
)
from
homeassistant.config_entries
import
(
ConfigEntry
,
ConfigFlow
,
ConfigFlowResult
,
OptionsFlow
,
)
from
homeassistant.config_entries
import
ConfigFlow
,
ConfigFlowResult
,
OptionsFlow
from
homeassistant.const
import
CONF_HOST
,
CONF_PASSWORD
,
CONF_USERNAME
from
homeassistant.core
import
HomeAssistant
,
callback
from
.const
import
_LOGGER
,
DEFAULT_HOST
,
DEFAULT_USERNAME
,
DOMAIN
from
.coordinator
import
VodafoneConfigEntry
def
user_form_schema
(
user_input
:
dict
[
str
,
Any
]
|
None
)
->
vol
.
Schema
:
...
...
@@ -63,7 +59,7 @@ class VodafoneStationConfigFlow(ConfigFlow, domain=DOMAIN):
@staticmethod
@callback
def
async_get_options_flow
(
config_entry
:
ConfigEntry
,
config_entry
:
Vodafone
ConfigEntry
,
)
->
VodafoneStationOptionsFlowHandler
:
"""
Get the options flow for this handler.
"""
return
VodafoneStationOptionsFlowHandler
()
...
...
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