diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index e003e6311b93d95f3655d764c7716658c37e293c..e53209e3b4c058e246b05417ba1bff7a355e1f6e 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 1c84612407d8595f6c0ac4740f22e5bef5b8bc70..c89d48d15b281678cf33cc646d6f5a0df6a0af6b 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