Cleanup unused loggers (components A-M) (#41600)

This commit is contained in:
Philip Allgaier authored and GitHub committed 2020-10-12 16:59:05 +02:00
1 parent 9e6df38994
commit 625bbe6238
251 files changed
+16 -891

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ from homeassistant.const import CONF_DEVICE, EVENT_HOMEASSISTANT_STOP
from .const import DOMAIN as AXIS_DOMAIN
from .device import AxisNetworkDevice
LOGGER = logging.getLogger(__name__)
_LOGGER = logging.getLogger(__name__)
async def async_setup(hass, config):
@@ -47,7 +47,7 @@ async def async_unload_entry(hass, config_entry):
async def async_migrate_entry(hass, config_entry):
"""Migrate old entry."""
LOGGER.debug("Migrating from version %s", config_entry.version)
_LOGGER.debug("Migrating from version %s", config_entry.version)
# Flatten configuration but keep old data if user rollbacks HASS
if config_entry.version == 1:
@@ -55,6 +55,6 @@ async def async_migrate_entry(hass, config_entry):
config_entry.version = 2
LOGGER.info("Migration to version %s successful", config_entry.version)
_LOGGER.info("Migration to version %s successful", config_entry.version)
return True