1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-13 16:38:18 +00:00
esphome/tests/components/sdl/common.yaml
bdm310 e337bd7beb
[sdl] Implement binary sensors from keystrokes (#8207)
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
2025-02-05 21:53:23 +11:00

24 lines
387 B
YAML

host:
mac_address: "62:23:45:AF:B3:DD"
display:
- platform: sdl
id: sdl_display
update_interval: 1s
auto_clear_enabled: false
show_test_card: true
dimensions:
width: 450
height: 600
binary_sensor:
- platform: sdl
id: key_up
key: SDLK_a
- platform: sdl
id: key_down
key: SDLK_d
- platform: sdl
id: key_enter
key: SDLK_s