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

@ -28,7 +28,7 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .const import DOMAIN, SHARK
from .update_coordinator import SharkIqUpdateCoordinator
LOGGER = logging.getLogger(__name__)
_LOGGER = logging.getLogger(__name__)
# Supported features
SUPPORT_SHARKIQ = (
@ -71,7 +71,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
coordinator: SharkIqUpdateCoordinator = hass.data[DOMAIN][config_entry.entry_id]
devices: Iterable["SharkIqVacuum"] = coordinator.shark_vacs.values()
device_names = [d.name for d in devices]
LOGGER.debug(
_LOGGER.debug(
"Found %d Shark IQ device(s): %s",
len(device_names),
", ".join([d.name for d in devices]),