esphome/tests/components/update/common.yaml

29 lines
474 B
YAML
Raw Permalink Normal View History

substitutions:
verify_ssl: "true"
esphome:
on_boot:
then:
- if:
condition:
update.is_available:
then:
- logger.log: "Update available"
- update.perform:
force_update: true
wifi:
ssid: MySSID
password: password1
http_request:
verify_ssl: ${verify_ssl}
ota:
- platform: http_request
2024-06-11 23:57:36 +02:00
update:
- platform: http_request
name: Firmware Update
source: http://example.com/manifest.json