1
0
mirror of https://github.com/esphome/esphome-docs.git synced 2025-03-23 15:29:52 +01:00

Added example with the expanded form for file ()

Added one example where file does not use the short form, but the YAML expanded one described below the examples.
This commit is contained in:
Antonio Fiol 2023-02-05 20:10:26 +01:00 committed by GitHub
parent 60233fccf8
commit a3bdd1ff5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,13 @@ Next, create a ``font:`` section in your configuration:
id: roboto
size: 20
- file:
type: gfonts
family: Roboto
weight: 900
id: font2
size: 16
- file: "fonts/tom-thumb.bdf"
id: tomthumb