mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 05:42:20 +01:00
[mapping] Implement yaml-configured maps (#8333)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user