Cleanup unused loggers (components N-Z + tests) (#41982)
This commit is contained in:
parent
ad6ce5fa83
commit
dde6305549
326 changed files with 84 additions and 1156 deletions
|
@ -59,8 +59,9 @@ PLATFORM_SCHEMA = vol.Schema(
|
|||
|
||||
async def async_setup(hass, config):
|
||||
"""Set up the scenes."""
|
||||
logger = logging.getLogger(__name__)
|
||||
component = hass.data[DOMAIN] = EntityComponent(logger, DOMAIN, hass)
|
||||
component = hass.data[DOMAIN] = EntityComponent(
|
||||
logging.getLogger(__name__), DOMAIN, hass
|
||||
)
|
||||
|
||||
await component.async_setup(config)
|
||||
# Ensure Home Assistant platform always loaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue