mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fix stale docstrings
This commit is contained in:
parent
3cb20c7b4d
commit
5d693277f0
@ -103,7 +103,7 @@ async def async_setup(hass: HomeAssistantType, config: ConfigType):
|
|||||||
# config flow
|
# config flow
|
||||||
async def async_setup_entry(hass: HomeAssistantType,
|
async def async_setup_entry(hass: HomeAssistantType,
|
||||||
config_entry: ConfigEntry):
|
config_entry: ConfigEntry):
|
||||||
"""Set up a bridge from a config entry."""
|
"""Set up UPnP/IGD-device from a config entry."""
|
||||||
ensure_domain_data(hass)
|
ensure_domain_data(hass)
|
||||||
data = config_entry.data
|
data = config_entry.data
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ def ensure_domain_data(hass):
|
|||||||
|
|
||||||
@config_entries.HANDLERS.register(DOMAIN)
|
@config_entries.HANDLERS.register(DOMAIN)
|
||||||
class UpnpFlowHandler(data_entry_flow.FlowHandler):
|
class UpnpFlowHandler(data_entry_flow.FlowHandler):
|
||||||
"""Handle a Hue config flow."""
|
"""Handle a UPnP/IGD config flow."""
|
||||||
|
|
||||||
VERSION = 1
|
VERSION = 1
|
||||||
CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_POLL
|
CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_POLL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user