Add qr code support for displays (#2952)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
committed by
GitHub
parent
ef832becf1
commit
a718ac7ee0
@@ -2154,6 +2154,7 @@ display:
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.qr_code(0, 0, id(homepage_qr));
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- id: page2
|
||||
lambda: |-
|
||||
@@ -2577,3 +2578,7 @@ select:
|
||||
- one
|
||||
- two
|
||||
optimistic: true
|
||||
|
||||
qr_code:
|
||||
- id: homepage_qr
|
||||
value: https://esphome.io/index.html
|
||||
|
||||
Reference in New Issue
Block a user