mirror of
https://github.com/esphome/esphome.git
synced 2026-05-26 03:07:04 +08:00
8df5a3a630
CI / Create common environment (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Run pytest (macOS-latest, 3.11) (push) Has been cancelled
CI / Run pytest (ubuntu-latest, 3.11) (push) Has been cancelled
CI / Run pytest (ubuntu-latest, 3.13) (push) Has been cancelled
CI / Run pytest (windows-latest, 3.11) (push) Has been cancelled
CI / Determine which jobs to run (push) Has been cancelled
CI / Run integration tests (push) Has been cancelled
CI / Run C++ unit tests (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / Run script/clang-tidy for ZEPHYR (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Test components batch (${{ matrix.components }}) (push) Has been cancelled
CI / pre-commit.ci lite (push) Has been cancelled
CI / Build target branch for memory impact (push) Has been cancelled
CI / Build PR branch for memory impact (push) Has been cancelled
CI / Comment memory impact (push) Has been cancelled
CI / CI Status (push) Has been cancelled
Synchronise Device Classes from Home Assistant / Sync Device Classes (push) Has been cancelled
81 lines
1.6 KiB
YAML
81 lines
1.6 KiB
YAML
packages:
|
|
lvgl: !include lvgl-package.yaml
|
|
spi: !include ../../test_build_components/common/spi/esp32-idf.yaml
|
|
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
|
|
|
sensor:
|
|
- platform: rotary_encoder
|
|
name: "Rotary Encoder"
|
|
id: encoder
|
|
pin_a: 3
|
|
pin_b: 1
|
|
internal: true
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
id: pushbutton
|
|
name: Pushbutton
|
|
pin:
|
|
number: 0
|
|
inverted: true
|
|
ignore_strapping_warning: true
|
|
|
|
display:
|
|
- platform: ili9xxx
|
|
spi_id: spi_bus
|
|
model: st7789v
|
|
id: second_display
|
|
dimensions:
|
|
width: 240
|
|
height: 320
|
|
transform:
|
|
swap_xy: false
|
|
mirror_x: true
|
|
mirror_y: true
|
|
data_rate: 80MHz
|
|
cs_pin: GPIO20
|
|
dc_pin:
|
|
number: GPIO15
|
|
ignore_strapping_warning: true
|
|
auto_clear_enabled: false
|
|
invert_colors: false
|
|
update_interval: never
|
|
|
|
- platform: ili9xxx
|
|
spi_id: spi_bus
|
|
model: st7789v
|
|
id: tft_display
|
|
dimensions:
|
|
width: 240
|
|
height: 320
|
|
transform:
|
|
swap_xy: false
|
|
mirror_x: true
|
|
mirror_y: true
|
|
data_rate: 80MHz
|
|
cs_pin: GPIO22
|
|
dc_pin: GPIO21
|
|
auto_clear_enabled: false
|
|
invert_colors: false
|
|
update_interval: never
|
|
|
|
lvgl:
|
|
displays:
|
|
- tft_display
|
|
- second_display
|
|
encoders:
|
|
sensor: encoder
|
|
enter_button: pushbutton
|
|
group: general
|
|
initial_focus: lv_roller
|
|
on_draw_start:
|
|
- logger.log: draw started
|
|
on_draw_end:
|
|
- logger.log: draw ended
|
|
- lvgl.pause:
|
|
- component.update: tft_display
|
|
- delay: 60s
|
|
- lvgl.resume:
|
|
|
|
<<: !include common.yaml
|