Only allow prometheus when using arduino (#2697)

This commit is contained in:
Jesse Hills 2021-11-11 22:56:35 +13:00 committed by GitHub
parent f11220da3a
commit a6873c1520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,8 @@ CONFIG_SCHEMA = cv.Schema(
cv.GenerateID(CONF_WEB_SERVER_BASE_ID): cv.use_id(
web_server_base.WebServerBase
),
}
},
cv.only_with_arduino,
).extend(cv.COMPONENT_SCHEMA)