From b3337340f14cf95c20e78bde7b5dfe240d2e6e1b Mon Sep 17 00:00:00 2001 From: Peter Popovec Date: Fri, 18 Oct 2024 10:38:23 +0200 Subject: [PATCH] Enable mqtt client support for the RTL87XX platform. modified: esphome/components/mqtt/__init__.py --- esphome/components/mqtt/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/mqtt/__init__.py b/esphome/components/mqtt/__init__.py index 8851581ea0..b935e9b3ab 100644 --- a/esphome/components/mqtt/__init__.py +++ b/esphome/components/mqtt/__init__.py @@ -49,6 +49,7 @@ from esphome.const import ( CONF_USERNAME, CONF_WILL_MESSAGE, PLATFORM_BK72XX, + PLATFORM_RTL87XX, PLATFORM_ESP32, PLATFORM_ESP8266, ) @@ -295,7 +296,7 @@ CONFIG_SCHEMA = cv.All( } ), validate_config, - cv.only_on([PLATFORM_ESP32, PLATFORM_ESP8266, PLATFORM_BK72XX]), + cv.only_on([PLATFORM_ESP32, PLATFORM_ESP8266, PLATFORM_BK72XX, PLATFORM_RTL87XX]), )