mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 04:54:55 +01:00
b8630363e0
Some checks are pending
CI / Check black (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Waiting to run
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
wifi:
|
|
ssid: MySSID
|
|
password: password1
|
|
|
|
# Purposely test that `online_image:` does auto-load `image:`
|
|
# Keep the `image:` undefined.
|
|
# image:
|
|
online_image:
|
|
- id: online_binary_image
|
|
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
|
|
format: PNG
|
|
type: BINARY
|
|
resize: 50x50
|
|
- id: online_binary_transparent_image
|
|
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
|
|
type: TRANSPARENT_BINARY
|
|
format: png
|
|
- id: online_rgba_image
|
|
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
|
|
format: PNG
|
|
type: RGBA
|
|
- id: online_rgb24_image
|
|
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
|
|
format: PNG
|
|
type: RGB24
|
|
use_transparency: true
|
|
|
|
# Check the set_url action
|
|
time:
|
|
- platform: sntp
|
|
on_time:
|
|
- at: "13:37:42"
|
|
then:
|
|
- online_image.set_url:
|
|
id: online_rgba_image
|
|
url: http://www.example.org/example.png
|
|
- online_image.set_url:
|
|
id: online_rgba_image
|
|
url: !lambda |-
|
|
return "http://www.example.org/example.png";
|
|
- online_image.set_url:
|
|
id: online_rgba_image
|
|
url: !lambda |-
|
|
return str_sprintf("http://homeassistant.local:8123");
|
|
|