mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Add SVG support (#2983)
This commit is contained in:
parent
e3d191fedb
commit
93d7245eab
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user