1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00
Files
esphome/tests/unit_tests/fixtures/substitutions/display.yaml
2025-07-01 14:57:00 +12:00

12 lines
242 B
YAML

# display.yaml
defaults:
native_width: 480
native_height: 480
display:
- platform: ili9xxx
dimensions:
width: ${high_dpi and native_width * 2 or native_width}
height: ${high_dpi and native_height * 2 or native_height}