mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
Only allow prometheus when using arduino (#2697)
This commit is contained in:
parent
f11220da3a
commit
a6873c1520
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ CONFIG_SCHEMA = cv.Schema(
|
||||||
cv.GenerateID(CONF_WEB_SERVER_BASE_ID): cv.use_id(
|
cv.GenerateID(CONF_WEB_SERVER_BASE_ID): cv.use_id(
|
||||||
web_server_base.WebServerBase
|
web_server_base.WebServerBase
|
||||||
),
|
),
|
||||||
}
|
},
|
||||||
|
cv.only_with_arduino,
|
||||||
).extend(cv.COMPONENT_SCHEMA)
|
).extend(cv.COMPONENT_SCHEMA)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue