diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt
index 972c80ea6bc29edab3727daf6e02a57e5c21aefe..31fdad0d54a7e92adbe301bf827c0a888d2c5494 100644
--- a/homeassistant/package_constraints.txt
+++ b/homeassistant/package_constraints.txt
@@ -17,6 +17,7 @@ home-assistant-frontend==20200716.0
 importlib-metadata==1.6.0;python_version<'3.8'
 jinja2>=2.11.1
 netdisco==2.8.0
+paho-mqtt==1.5.0
 pip>=8.0.3
 python-slugify==4.0.0
 pytz>=2020.1
diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py
index d3e4d5c63fcd288889950f5a95d96572a9b66b4a..4625924da29fc29f1e4b1f69649188eab1085d57 100755
--- a/script/gen_requirements_all.py
+++ b/script/gen_requirements_all.py
@@ -297,8 +297,11 @@ def gather_constraints():
     return (
         "\n".join(
             sorted(
-                core_requirements()
-                + list(gather_recursive_requirements("default_config"))
+                {
+                    *core_requirements(),
+                    *gather_recursive_requirements("default_config"),
+                    *gather_recursive_requirements("mqtt"),
+                }
             )
             + [""]
         )