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

This commit is contained in:
Clyde Stubbs
2024-12-03 11:27:51 +13:00
committed by GitHub
parent b79a3d6727
commit e08a9cc3a3
4 changed files with 5 additions and 28 deletions
+1 -2
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]):