mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 12:17:23 +00:00
28 lines
400 B
YAML
28 lines
400 B
YAML
esphome:
|
|
name: online-image-bmp
|
|
|
|
host:
|
|
|
|
http_request:
|
|
|
|
display:
|
|
|
|
online_image:
|
|
- url: http://127.0.0.1:HTTP_PORT/foo.bmp
|
|
id: myimg
|
|
format: BMP
|
|
type: RGB
|
|
on_download_finished:
|
|
logger.log:
|
|
format: "download finished. cache hit: %u"
|
|
args: [cached]
|
|
|
|
api:
|
|
actions:
|
|
- action: fetch_image
|
|
then:
|
|
- component.update: myimg
|
|
|
|
logger:
|
|
level: DEBUG
|