From 10f590324b6fa97c3f5df849b343a58b21891a36 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 14 Nov 2022 13:19:32 +1300 Subject: [PATCH] Mark webserver and captive portal as not available on rp2040 (#4023) --- esphome/components/async_tcp/__init__.py | 1 + esphome/components/captive_portal/__init__.py | 1 + esphome/components/web_server/__init__.py | 1 + 3 files changed, 3 insertions(+) diff --git a/esphome/components/async_tcp/__init__.py b/esphome/components/async_tcp/__init__.py index 8789448792..c693544a2e 100644 --- a/esphome/components/async_tcp/__init__.py +++ b/esphome/components/async_tcp/__init__.py @@ -8,6 +8,7 @@ CODEOWNERS = ["@OttoWinter"] CONFIG_SCHEMA = cv.All( cv.Schema({}), cv.only_with_arduino, + cv.only_on(["esp32", "esp8266"]), ) diff --git a/esphome/components/captive_portal/__init__.py b/esphome/components/captive_portal/__init__.py index b41095304e..f7b103d299 100644 --- a/esphome/components/captive_portal/__init__.py +++ b/esphome/components/captive_portal/__init__.py @@ -25,6 +25,7 @@ CONFIG_SCHEMA = cv.All( } ).extend(cv.COMPONENT_SCHEMA), cv.only_with_arduino, + cv.only_on(["esp32", "esp8266"]), ) diff --git a/esphome/components/web_server/__init__.py b/esphome/components/web_server/__init__.py index 42683c8d77..d8343c6c39 100644 --- a/esphome/components/web_server/__init__.py +++ b/esphome/components/web_server/__init__.py @@ -75,6 +75,7 @@ CONFIG_SCHEMA = cv.All( } ).extend(cv.COMPONENT_SCHEMA), cv.only_with_arduino, + cv.only_on(["esp32", "esp8266"]), default_url, validate_local, )