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
+3 -1
View File
@@ -4,7 +4,9 @@ from threading import Event
from sleekxmppfs import ClientXMPP, Callback, MatchXPath
from sleekxmppfs.xmlstream import ET
#from sleekxmppfs.exceptions import XMPPError
from .const import LOGGER
import logging
LOGGER = logging.getLogger(__name__)
#This is used by EcoVacsIOTMQ and EcoVacsXMPP for _ctl_to_dict
def RepresentsInt(stringvar):