Clean up Tuya loggers (#62999)
This commit is contained in:
parent
bd98fc231d
commit
32d1e28dab
4 changed files with 7 additions and 17 deletions
|
@ -1,7 +1,6 @@
|
|||
"""Config flow for Tuya."""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
from tuya_iot import AuthType, TuyaOpenAPI
|
||||
|
@ -19,6 +18,7 @@ from .const import (
|
|||
CONF_PASSWORD,
|
||||
CONF_USERNAME,
|
||||
DOMAIN,
|
||||
LOGGER,
|
||||
SMARTLIFE_APP,
|
||||
TUYA_COUNTRIES,
|
||||
TUYA_RESPONSE_CODE,
|
||||
|
@ -29,8 +29,6 @@ from .const import (
|
|||
TUYA_SMART_APP,
|
||||
)
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TuyaConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
"""Tuya Config Flow."""
|
||||
|
@ -78,7 +76,7 @@ class TuyaConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
schema=data[CONF_APP_TYPE],
|
||||
)
|
||||
|
||||
_LOGGER.debug("Response %s", response)
|
||||
LOGGER.debug("Response %s", response)
|
||||
|
||||
if response.get(TUYA_RESPONSE_SUCCESS, False):
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue