[mapping] Implement yaml-configured maps (#8333)

This commit is contained in:
Clyde Stubbs
2025-04-17 13:18:48 +12:00
committed by GitHub
parent 55e099450c
commit f10bc73d31
15 changed files with 336 additions and 2 deletions
+4
View File
@@ -91,6 +91,10 @@ class ComponentManifest:
def codeowners(self) -> list[str]:
return getattr(self.module, "CODEOWNERS", [])
@property
def instance_type(self) -> list[str]:
return getattr(self.module, "INSTANCE_TYPE", None)
@property
def final_validate_schema(self) -> Optional[Callable[[ConfigType], None]]:
"""Components can declare a `FINAL_VALIDATE_SCHEMA` cv.Schema that gets called