From 93d7245eab5f81e932b31dadaf15246340782e43 Mon Sep 17 00:00:00 2001 From: guillempages Date: Sun, 11 Jun 2023 23:36:42 +0200 Subject: [PATCH] Add SVG support (#2983) --- components/display/index.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/display/index.rst b/components/display/index.rst index 53cd52ced..217373056 100644 --- a/components/display/index.rst +++ b/components/display/index.rst @@ -700,11 +700,8 @@ Configuration variables: To use images you will need to have the python ``pillow`` package installed. If you're running this as a Home Assistant add-on or with the official ESPHome docker image, it should already be installed. Otherwise you need to install it using ``pip install pillow``. - -.. note:: - - To use mdi images you will additionally need to have the python ``cairosvg`` package installed. - If you're running this as a Home Assistant add-on or with the official ESPHome docker image, it should already be + Additionally, if you want to use SVG images (including MDI images), you will additionally need to have the python ``cairosvg`` package installed. + If you're running this as a Home Assistant add-on or with the official ESPHome docker image, it should also already be installed. Otherwise you need to install it using ``pip install cairosvg``. And then later in code: