import fixes
This commit is contained in:
@@ -11,7 +11,7 @@ from paho.mqtt import publish as MQTTPublish
|
||||
from paho.mqtt import subscribe as MQTTSubscribe
|
||||
from sleekxmppfs.xmlstream import ET
|
||||
|
||||
from . import const
|
||||
from .const import _LOGGER
|
||||
|
||||
#This is used by EcoVacsIOTMQ and EcoVacsXMPP for _ctl_to_dict
|
||||
def RepresentsInt(stringvar):
|
||||
|
||||
@@ -10,7 +10,7 @@ from sleekxmppfs.exceptions import XMPPError
|
||||
from .mqtt_ecovacs import EcoVacsIOTMQ
|
||||
from .xmpp_ecovacs import EcoVacsXMPP
|
||||
|
||||
from . import const
|
||||
from .const import *
|
||||
|
||||
def str_to_bool_or_cert(s):
|
||||
if s == 'True' or s == True:
|
||||
|
||||
@@ -4,7 +4,7 @@ from threading import Event
|
||||
from sleekxmppfs import ClientXMPP, Callback, MatchXPath
|
||||
from sleekxmppfs.xmlstream import ET
|
||||
#from sleekxmppfs.exceptions import XMPPError
|
||||
from . import const
|
||||
from .const import _LOGGER
|
||||
|
||||
#This is used by EcoVacsIOTMQ and EcoVacsXMPP for _ctl_to_dict
|
||||
def RepresentsInt(stringvar):
|
||||
|
||||
Reference in New Issue
Block a user