Fix integrations.json
creation, make iot_standards
a list (#80945)
This commit is contained in:
parent
64eb316908
commit
36bb0bbc1a
6 changed files with 17 additions and 8 deletions
|
@ -186,9 +186,9 @@ class Integration:
|
|||
return self.manifest.get("iot_class")
|
||||
|
||||
@property
|
||||
def iot_standard(self) -> str:
|
||||
def iot_standards(self) -> list[str]:
|
||||
"""Return the IoT standard supported by this virtual integration."""
|
||||
return self.manifest.get("iot_standard", {})
|
||||
return self.manifest.get("iot_standards", [])
|
||||
|
||||
def add_error(self, *args: Any, **kwargs: Any) -> None:
|
||||
"""Add an error."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue