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

@ -177,7 +177,7 @@ class Integration:
@property
def integration_type(self) -> str:
"""Get integration_type."""
return self.manifest.get("integration_type", "integration")
return self.manifest.get("integration_type", "hub")
@property
def iot_class(self) -> str | None: