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