1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

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
326 changed files with 84 additions and 1156 deletions

View File

@@ -1,6 +1,4 @@
"""Unit system helper class and methods."""
import logging
from numbers import Number
from typing import Optional
@@ -33,8 +31,6 @@ from homeassistant.util import (
volume as volume_util,
)
_LOGGER = logging.getLogger(__name__)
LENGTH_UNITS = distance_util.VALID_UNITS
MASS_UNITS = [MASS_POUNDS, MASS_OUNCES, MASS_KILOGRAMS, MASS_GRAMS]