1
0
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:
Stanislav Meduna
2025-06-11 12:14:02 +02:00
committed by GitHub
parent e8aa7cff36
commit 052f558131
4 changed files with 26 additions and 0 deletions

View File

@@ -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) {