optimizations

split out sucks constants to their own file, no need to define verify ssl.  if bumper is true then verify ssl false
This commit is contained in:
bittles
2023-01-03 22:21:14 -05:00
parent 7feb48c9cc
commit db2c4ec880
4 changed files with 120 additions and 121 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ from sleekxmppfs.exceptions import XMPPError
from .mqtt_ecovacs import EcoVacsIOTMQ
from .xmpp_ecovacs import EcoVacsXMPP
from .const import *
from .const import LOGGER
from .sucks_const import *
def str_to_bool_or_cert(s):
if s == 'True' or s == True: