Integrations v2.1: Differentiating hubs, devices and services (#80524)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
0c8884fd51
commit
c4bbc439a5
11 changed files with 1376 additions and 105 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue