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:
bittles
2023-01-15 17:07:51 -05:00
parent 2b66ffa426
commit c7051bd51b
7 changed files with 244 additions and 216 deletions
+6 -7
View File
@@ -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(
{