Use integration name in docstring (#28445)
parent
5cbb6607a6
commit
314c3d0965
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue