mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
a19f0c0db0
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> fixes https://github.com/esphome/issues/issues/4010
33 lines
649 B
YAML
33 lines
649 B
YAML
# Tests for ESP32-C3 boards which use toolchain-riscv32-esp
|
|
---
|
|
wifi:
|
|
ssid: 'ssid'
|
|
|
|
esp32:
|
|
board: lolin_c3_mini
|
|
framework:
|
|
type: arduino
|
|
|
|
esphome:
|
|
name: 'on-response-test'
|
|
on_boot:
|
|
then:
|
|
- http_request.send:
|
|
method: PUT
|
|
url: https://esphome.io
|
|
headers:
|
|
Content-Type: application/json
|
|
body: Some data
|
|
verify_ssl: false
|
|
on_response:
|
|
then:
|
|
- logger.log:
|
|
format: "Response status: %d"
|
|
args:
|
|
- status_code
|
|
|
|
logger:
|
|
|
|
http_request:
|
|
useragent: esphome/tagreader
|
|
timeout: 10s
|