'Init the MQTT Alarm Control Panel.'

def __init__(self, name, state_topic, command_topic, qos, payload_disarm, payload_arm_home, payload_arm_away, code):

    self._state = STATE_UNKNOWN
    self._name = name
    self._state_topic = state_topic
    self._command_topic = command_topic
    self._qos = qos
    self._payload_disarm = payload_disarm
    self._payload_arm_home = payload_arm_home
    self._payload_arm_away = payload_arm_away
    self._code = code
