From 26e9e59a5b33a7dd3d0f422970560d40d13e5c91 Mon Sep 17 00:00:00 2001
From: Fabian Affolter <mail@fabian-affolter.ch>
Date: Tue, 4 Apr 2017 10:43:41 +0200
Subject: [PATCH] Upgrade paho-mqtt to 1.2.1 (#6928)

---
 homeassistant/components/mqtt/__init__.py | 4 ++--
 requirements_all.txt                      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py
index e003e6311b9..e53209e3b4c 100644
--- a/homeassistant/components/mqtt/__init__.py
+++ b/homeassistant/components/mqtt/__init__.py
@@ -28,6 +28,8 @@ from homeassistant.const import (
     CONF_PASSWORD, CONF_PORT, CONF_PROTOCOL, CONF_PAYLOAD)
 from homeassistant.components.mqtt.server import HBMQTT_CONFIG_SCHEMA
 
+REQUIREMENTS = ['paho-mqtt==1.2.1']
+
 _LOGGER = logging.getLogger(__name__)
 
 DOMAIN = 'mqtt'
@@ -37,8 +39,6 @@ DATA_MQTT = 'mqtt'
 SERVICE_PUBLISH = 'publish'
 SIGNAL_MQTT_MESSAGE_RECEIVED = 'mqtt_message_received'
 
-REQUIREMENTS = ['paho-mqtt==1.2']
-
 CONF_EMBEDDED = 'embedded'
 CONF_BROKER = 'broker'
 CONF_CLIENT_ID = 'client_id'
diff --git a/requirements_all.txt b/requirements_all.txt
index 1c84612407d..c89d48d15b2 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -407,7 +407,7 @@ openhomedevice==0.2.1
 orvibo==1.1.1
 
 # homeassistant.components.mqtt
-paho-mqtt==1.2
+paho-mqtt==1.2.1
 
 # homeassistant.components.media_player.panasonic_viera
 panasonic_viera==0.2
-- 
GitLab