forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
- add qr-code-component to be usable as
srcinimgandanimimgwidgets. - extend it to be able to generate QRs at runtime from strings.
Perhaps as a LVGL sub-module.
Both ESPHome and LVGL use nayuki's library to generate QR codes, but ESPHome doesn't seem to be able to do it at runtime from a lambda:
qr_code:
- id: homepage_qr
value: !lambda 'return to_string("esphome.io");'results in:
qr_code: [source config/test.yaml:112]
- id: homepage_qr
This option is not templatable!.
value: !lambda |-
return to_string("esphome.io");
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels