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:
@@ -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]):
|
||||
|
Reference in New Issue
Block a user