1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[lvgl] Implement qrcode (#7623)

This commit is contained in:
Clyde Stubbs
2024-10-29 09:05:51 +11:00
committed by GitHub
parent 1e2497748d
commit 22f30d42a6
3 changed files with 68 additions and 0 deletions

View File

@@ -458,6 +458,18 @@ lvgl:
- id: page2
widgets:
- qrcode:
id: lv_qr
align: left_mid
size: 100
light_color: whitesmoke
dark_color: steelblue
text: esphome.io
on_click:
lvgl.qrcode.update:
id: lv_qr
text: homeassistant.io
- slider:
min_value: 0
max_value: 255