Use integration name in docstring (#28445)
This commit is contained in:
parent
5cbb6607a6
commit
314c3d0965
4 changed files with 6 additions and 6 deletions
|
@ -21,9 +21,9 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
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
|
# 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:
|
for component in PLATFORMS:
|
||||||
hass.async_create_task(
|
hass.async_create_task(
|
||||||
|
|
|
@ -21,9 +21,9 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
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
|
# 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:
|
for component in PLATFORMS:
|
||||||
hass.async_create_task(
|
hass.async_create_task(
|
||||||
|
|
|
@ -55,7 +55,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
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(
|
implementation = await config_entry_oauth2_flow.async_get_config_entry_implementation(
|
||||||
hass, entry
|
hass, entry
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
"""Provides device automations for NEW_NAME."""
|
"""Provide the device automations for NEW_NAME."""
|
||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue