mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
29 lines
420 B
YAML
29 lines
420 B
YAML
esphome:
|
|
name: online-image-bmp
|
|
|
|
host:
|
|
|
|
http_request:
|
|
|
|
display:
|
|
|
|
image:
|
|
- platform: 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
|