Cleanup unused loggers (#46510)

This commit is contained in:
tkdrob 2021-02-14 07:46:58 -05:00 committed by GitHub
parent 10e88cd23d
commit a5a45f29e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 0 additions and 223 deletions

View file

@ -1,6 +1,5 @@
"""Websocket API for Z-Wave JS."""
import json
import logging
from aiohttp import hdrs, web, web_exceptions
import voluptuous as vol
@ -17,8 +16,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect
from .const import DATA_CLIENT, DOMAIN, EVENT_DEVICE_ADDED_TO_REGISTRY
_LOGGER = logging.getLogger(__name__)
ID = "id"
ENTRY_ID = "entry_id"
NODE_ID = "node_id"

View file

@ -1,5 +1,4 @@
"""Representation of Z-Wave thermostats."""
import logging
from typing import Any, Callable, Dict, List, Optional
from zwave_js_server.client import Client as ZwaveClient
@ -47,8 +46,6 @@ from .const import DATA_CLIENT, DATA_UNSUBSCRIBE, DOMAIN
from .discovery import ZwaveDiscoveryInfo
from .entity import ZWaveBaseEntity
_LOGGER = logging.getLogger(__name__)
# Map Z-Wave HVAC Mode to Home Assistant value
# Note: We treat "auto" as "heat_cool" as most Z-Wave devices
# report auto_changeover as auto without schedule support.

View file

@ -1,5 +1,4 @@
"""Support for Z-Wave fans."""
import logging
import math
from typing import Any, Callable, List, Optional
@ -22,8 +21,6 @@ from .const import DATA_CLIENT, DATA_UNSUBSCRIBE, DOMAIN
from .discovery import ZwaveDiscoveryInfo
from .entity import ZWaveBaseEntity
_LOGGER = logging.getLogger(__name__)
SUPPORTED_FEATURES = SUPPORT_SET_SPEED
SPEED_RANGE = (1, 99) # off is not included