Use integration name in docstring (#28445)

pull/28488/head
Fabian Affolter 2019-11-03 05:28:07 +01:00 committed by Paulus Schoutsen
parent 5cbb6607a6
commit 314c3d0965
4 changed files with 6 additions and 6 deletions

View File

@ -21,9 +21,9 @@ async def async_setup(hass: HomeAssistant, config: dict):
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up Somfy from a config entry."""
"""Set up NEW_NAME from a config entry."""
# TODO Store an API object for your platforms to access
# hass.data[DOMAIN][entry.entry_id] = MyApi()
# hass.data[DOMAIN][entry.entry_id] = MyApi(...)
for component in PLATFORMS:
hass.async_create_task(

View File

@ -21,9 +21,9 @@ async def async_setup(hass: HomeAssistant, config: dict):
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up Somfy from a config entry."""
"""Set up NEW_NAME from a config entry."""
# TODO Store an API object for your platforms to access
# hass.data[DOMAIN][entry.entry_id] = MyApi()
# hass.data[DOMAIN][entry.entry_id] = MyApi(...)
for component in PLATFORMS:
hass.async_create_task(

View File

@ -55,7 +55,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up Somfy from a config entry."""
"""Set up NEW_NAME from a config entry."""
implementation = await config_entry_oauth2_flow.async_get_config_entry_implementation(
hass, entry
)

View File

@ -1,4 +1,4 @@
"""Provides device automations for NEW_NAME."""
"""Provide the device automations for NEW_NAME."""
from typing import Dict, List
import voluptuous as vol