from . import mqtt import logging logger = logging.getLogger(__name__) logger.debug('Starting mqtt loop') mqtt.client.loop_start()