diff --git a/esphome/components/mqtt/__init__.py b/esphome/components/mqtt/__init__.py index 3f9275e231..7207eaddc1 100644 --- a/esphome/components/mqtt/__init__.py +++ b/esphome/components/mqtt/__init__.py @@ -250,6 +250,7 @@ CONFIG_SCHEMA = cv.All( } ), validate_config, + cv.only_on(["esp32", "esp8266"]), )