mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add support for custom request headers in online_image component (#8985)
This commit is contained in:
@@ -11,6 +11,9 @@ online_image:
|
||||
format: PNG
|
||||
type: BINARY
|
||||
resize: 50x50
|
||||
request_headers:
|
||||
X-Test1: 'Test1'
|
||||
X-Test2: !lambda 'static int x; return to_string(x++);'
|
||||
on_download_finished:
|
||||
lambda: |-
|
||||
if (cached) {
|
||||
|
Reference in New Issue
Block a user