mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Convert components to async-def syntax (#1821)
This commit is contained in:
@@ -34,7 +34,7 @@ CONFIG_SCHEMA = cv.All(font.validate_pillow_installed, ANIMATION_SCHEMA)
|
||||
CODEOWNERS = ["@syndlex"]
|
||||
|
||||
|
||||
def to_code(config):
|
||||
async def to_code(config):
|
||||
from PIL import Image
|
||||
|
||||
path = CORE.relative_config_path(config[CONF_FILE])
|
||||
|
||||
Reference in New Issue
Block a user