Fix stale docstrings

This commit is contained in:
Steven Looman 2018-10-03 11:27:38 +02:00
parent 3cb20c7b4d
commit 5d693277f0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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