Cleanup unused loggers (components N-Z + tests) (#41982)

This commit is contained in:
Philip Allgaier 2020-10-17 04:24:08 +02:00 committed by GitHub
parent ad6ce5fa83
commit dde6305549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
326 changed files with 84 additions and 1156 deletions

View file

@ -1,6 +1,5 @@
"""Switches on Zigbee Home Automation networks."""
import functools
import logging
from typing import Any, List
from zigpy.zcl.clusters.general import OnOff
@ -22,7 +21,6 @@ from .core.const import (
from .core.registries import ZHA_ENTITIES
from .entity import ZhaEntity, ZhaGroupEntity
_LOGGER = logging.getLogger(__name__)
STRICT_MATCH = functools.partial(ZHA_ENTITIES.strict_match, DOMAIN)
GROUP_MATCH = functools.partial(ZHA_ENTITIES.group_match, DOMAIN)