Enable mqtt client support for the RTL87XX platform.

modified:   esphome/components/mqtt/__init__.py
This commit is contained in:
Peter Popovec 2024-10-18 10:38:23 +02:00
parent ee3ee3a63b
commit b3337340f1

View File

@ -49,6 +49,7 @@ from esphome.const import (
CONF_USERNAME, CONF_USERNAME,
CONF_WILL_MESSAGE, CONF_WILL_MESSAGE,
PLATFORM_BK72XX, PLATFORM_BK72XX,
PLATFORM_RTL87XX,
PLATFORM_ESP32, PLATFORM_ESP32,
PLATFORM_ESP8266, PLATFORM_ESP8266,
) )
@ -295,7 +296,7 @@ CONFIG_SCHEMA = cv.All(
} }
), ),
validate_config, validate_config,
cv.only_on([PLATFORM_ESP32, PLATFORM_ESP8266, PLATFORM_BK72XX]), cv.only_on([PLATFORM_ESP32, PLATFORM_ESP8266, PLATFORM_BK72XX, PLATFORM_RTL87XX]),
) )