mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 17:55:57 +00:00
image: allow the image to by auto-loaded by animation (#5139)
This commit is contained in:
@@ -57,6 +57,10 @@ class ComponentManifest:
|
||||
def multi_conf(self) -> bool:
|
||||
return getattr(self.module, "MULTI_CONF", False)
|
||||
|
||||
@property
|
||||
def multi_conf_no_default(self) -> bool:
|
||||
return getattr(self.module, "MULTI_CONF_NO_DEFAULT", False)
|
||||
|
||||
@property
|
||||
def to_code(self) -> Optional[Callable[[Any], None]]:
|
||||
return getattr(self.module, "to_code", None)
|
||||
|
||||
Reference in New Issue
Block a user