1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 00:02:21 +01:00

[font et. al.] Remove explicit check for pillow installed. (#7891)

This commit is contained in:
Clyde Stubbs
2024-12-03 09:27:51 +11:00
committed by GitHub
parent b79a3d6727
commit e08a9cc3a3
4 changed files with 5 additions and 28 deletions

View File

@@ -10,7 +10,6 @@ import puremagic
from esphome import core, external_files
import esphome.codegen as cg
from esphome.components import font
import esphome.config_validation as cv
from esphome.const import (
CONF_DITHER,
@@ -233,7 +232,7 @@ IMAGE_SCHEMA = cv.Schema(
)
)
CONFIG_SCHEMA = cv.All(font.validate_pillow_installed, IMAGE_SCHEMA)
CONFIG_SCHEMA = IMAGE_SCHEMA
def load_svg_image(file: bytes, resize: tuple[int, int]):