MqttHandler = function MqttHandler(gladys, mqttLibrary, serviceId) {
  this.gladys = gladys;
  this.mqttLibrary = mqttLibrary;
  this.serviceId = serviceId;
  this.mqttClient = null;

  this.topicBinds = {};
  this.deviceFeatureCustomMqttTopics = [];
  this.configured = false;
  this.connected = false;
  this.debugMode = false;
  this.debugModeTimeout = 120 * 1000;
}
@description Add ability to connect to a MQTT broker.
@param {object} gladys - Gladys instance.
@param {object} mqttLibrary - MQTT lib.
@param {string} serviceId - UUID of the service in DB.
@example
const mqttHandler = new MqttHandler(gladys, client, serviceId);