Integrations v2.1: Differentiating hubs, devices and services (#80524)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Franck Nijhof 2022-10-19 12:41:43 +02:00 committed by GitHub
parent 0c8884fd51
commit c4bbc439a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1376 additions and 105 deletions

View file

@ -162,8 +162,16 @@ MANIFEST_SCHEMA = vol.Schema(
{
vol.Required("domain"): str,
vol.Required("name"): str,
vol.Optional("integration_type"): vol.In(
["entity", "hardware", "helper", "system"]
vol.Optional("integration_type", default="hub"): vol.In(
[
"device",
"entity",
"hardware",
"helper",
"hub",
"service",
"system",
]
),
vol.Optional("config_flow"): bool,
vol.Optional("mqtt"): [str],