split api module out, split out api constants, refer to api constants in mqtt module, pulling logger back into individual modules
This commit is contained in:
@@ -17,13 +17,12 @@ from homeassistant.helpers.typing import ConfigType
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
import voluptuous as vol
|
||||
#use local sucks
|
||||
from .sucks import EcoVacsAPI, VacBot
|
||||
from .const import (
|
||||
ECOVACS_DEVICES,
|
||||
DOMAIN,
|
||||
CONF_CONTINENT,
|
||||
LOGGER
|
||||
)
|
||||
from .sucks import VacBot
|
||||
from .sucks_api import EcoVacsAPI
|
||||
from .const import *
|
||||
|
||||
import logging
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user