mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 22:53:59 +00:00
Merge branch 'dev' into gsm
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
dallas:
|
||||
pin: 4
|
||||
one_wire:
|
||||
- platform: gpio
|
||||
pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: dallas
|
||||
- platform: dallas_temp
|
||||
address: 0x1C0000031EDD2A28
|
||||
name: Dallas Temperature
|
||||
resolution: 9
|
||||
- platform: dallas
|
||||
index: 1
|
||||
- platform: dallas_temp
|
||||
name: Dallas Temperature
|
||||
@@ -17,3 +17,5 @@ text_sensor:
|
||||
name: IP Address
|
||||
dns_address:
|
||||
name: DNS Address
|
||||
mac_address:
|
||||
name: MAC Address
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
time:
|
||||
- platform: sntp
|
||||
- platform: host
|
||||
id: esptime
|
||||
timezone: Australia/Sydney
|
||||
|
||||
logger:
|
||||
level: VERBOSE
|
||||
logs:
|
||||
lvgl: INFO
|
||||
display: DEBUG
|
||||
sensor: INFO
|
||||
vnc: DEBUG
|
||||
|
||||
host:
|
||||
mac_address: "62:23:45:AF:B3:DD"
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
substitutions:
|
||||
verify_ssl: "true"
|
||||
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
@@ -5,33 +12,70 @@ esphome:
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
verify_ssl: false
|
||||
on_response:
|
||||
then:
|
||||
- logger.log:
|
||||
format: 'Response status: %d, Duration: %u ms'
|
||||
format: "Response status: %d, Duration: %u ms"
|
||||
args:
|
||||
- status_code
|
||||
- duration_ms
|
||||
- response->status_code
|
||||
- response->duration_ms
|
||||
- http_request.post:
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
json:
|
||||
key: value
|
||||
verify_ssl: false
|
||||
- http_request.send:
|
||||
method: PUT
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: "Some data"
|
||||
verify_ssl: false
|
||||
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
http_request:
|
||||
useragent: esphome/tagreader
|
||||
timeout: 10s
|
||||
verify_ssl: ${verify_ssl}
|
||||
|
||||
ota:
|
||||
- platform: http_request
|
||||
on_begin:
|
||||
then:
|
||||
- logger.log: "OTA start"
|
||||
on_progress:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "OTA progress %0.1f%%"
|
||||
args: ["x"]
|
||||
on_end:
|
||||
then:
|
||||
- logger.log: "OTA end"
|
||||
on_error:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "OTA update error %d"
|
||||
args: ["x"]
|
||||
on_state_change:
|
||||
then:
|
||||
lambda: 'ESP_LOGD("ota", "State %d", state);'
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Firmware update
|
||||
on_press:
|
||||
then:
|
||||
- ota.http_request.flash:
|
||||
md5_url: http://my.ha.net:8123/local/esphome/firmware.md5
|
||||
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
||||
|
||||
- ota.http_request.flash:
|
||||
md5: 0123456789abcdef0123456789abcdef
|
||||
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
||||
|
||||
- logger.log: "This message should be not displayed (reboot)"
|
||||
|
||||
update:
|
||||
- platform: http_request
|
||||
name: OTA Update
|
||||
id: ota_update
|
||||
source: http://my.ha.net:8123/local/esphome/manifest.json
|
||||
|
||||
4
tests/components/http_request/test-nossl.esp8266.yaml
Normal file
4
tests/components/http_request/test-nossl.esp8266.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
<<: !include common.yaml
|
||||
|
||||
http_request:
|
||||
esp8266_disable_ssl_support: true
|
||||
4
tests/components/http_request/test.esp32-c3-idf.yaml
Normal file
4
tests/components/http_request/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
substitutions:
|
||||
verify_ssl: "true"
|
||||
|
||||
<<: !include common.yaml
|
||||
@@ -1,2 +1,4 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
<<: !include common.yaml
|
||||
|
||||
4
tests/components/http_request/test.esp32-idf.yaml
Normal file
4
tests/components/http_request/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
substitutions:
|
||||
verify_ssl: "true"
|
||||
|
||||
<<: !include common.yaml
|
||||
@@ -1,2 +1,4 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
<<: !include common.yaml
|
||||
|
||||
4
tests/components/http_request/test.rp2040.yaml
Normal file
4
tests/components/http_request/test.rp2040.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
<<: !include common.yaml
|
||||
11
tests/components/ltr_als_ps/common.yaml
Normal file
11
tests/components/ltr_als_ps/common.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
sensor:
|
||||
- platform: ltr_als_ps
|
||||
address: 0x23
|
||||
i2c_id: i2c_als_ps
|
||||
gain: 1x
|
||||
integration_time: 100ms
|
||||
ps_cooldown: 5 s
|
||||
ambient_light: "Ambient light"
|
||||
full_spectrum_counts: "Full spectrum counts"
|
||||
infrared_counts: "Infrared counts"
|
||||
actual_gain: "Actual gain"
|
||||
6
tests/components/ltr_als_ps/test.esp32-c3-idf.yaml
Normal file
6
tests/components/ltr_als_ps/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
||||
6
tests/components/ltr_als_ps/test.esp32-c3.yaml
Normal file
6
tests/components/ltr_als_ps/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
||||
6
tests/components/ltr_als_ps/test.esp32-idf.yaml
Normal file
6
tests/components/ltr_als_ps/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
<<: !include common.yaml
|
||||
6
tests/components/ltr_als_ps/test.esp32.yaml
Normal file
6
tests/components/ltr_als_ps/test.esp32.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
<<: !include common.yaml
|
||||
6
tests/components/ltr_als_ps/test.esp8266.yaml
Normal file
6
tests/components/ltr_als_ps/test.esp8266.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
||||
6
tests/components/ltr_als_ps/test.rp2040.yaml
Normal file
6
tests/components/ltr_als_ps/test.rp2040.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_als_ps
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
||||
13
tests/components/mqtt/common-update.yaml
Normal file
13
tests/components/mqtt/common-update.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
substitutions:
|
||||
verify_ssl: "true"
|
||||
|
||||
http_request:
|
||||
verify_ssl: ${verify_ssl}
|
||||
|
||||
ota:
|
||||
- platform: http_request
|
||||
|
||||
update:
|
||||
- platform: http_request
|
||||
name: "OTA Update"
|
||||
source: https://example.com/ota.json
|
||||
@@ -1,2 +1,3 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
update: !include common-update.yaml
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
update: !include common-update.yaml
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
update: !include common-update.yaml
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
update: !include common-update.yaml
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
update: !include common-update.yaml
|
||||
|
||||
@@ -32,8 +32,8 @@ remote_receiver:
|
||||
on_coolix:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_coolix: %u %u"
|
||||
args: ["x.first", "x.second"]
|
||||
format: "on_coolix: %lu %lu"
|
||||
args: ["long(x.first)", "long(x.second)"]
|
||||
on_dish:
|
||||
then:
|
||||
- logger.log:
|
||||
@@ -52,13 +52,13 @@ remote_receiver:
|
||||
on_jvc:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_jvc: %u"
|
||||
args: ["x.data"]
|
||||
format: "on_jvc: %lu"
|
||||
args: ["long(x.data)"]
|
||||
on_keeloq:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_keeloq: %u %u %u"
|
||||
args: ["x.encrypted", "x.address", "x.command"]
|
||||
format: "on_keeloq: %lu %lu %u"
|
||||
args: ["long(x.encrypted)", "long(x.address)", "x.command"]
|
||||
on_haier:
|
||||
then:
|
||||
- logger.log:
|
||||
@@ -67,13 +67,13 @@ remote_receiver:
|
||||
on_lg:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_lg: %u %u"
|
||||
args: ["x.data", "x.nbits"]
|
||||
format: "on_lg: %lu %u"
|
||||
args: ["long(x.data)", "x.nbits"]
|
||||
on_magiquest:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_magiquest: %u %u"
|
||||
args: ["x.magnitude", "x.wand_id"]
|
||||
format: "on_magiquest: %u %lu"
|
||||
args: ["x.magnitude", "long(x.wand_id)"]
|
||||
on_midea:
|
||||
then:
|
||||
- logger.log:
|
||||
@@ -87,13 +87,13 @@ remote_receiver:
|
||||
on_nexa:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_nexa: %u %u %u %u %u"
|
||||
args: ["x.device", "x.group", "x.state", "x.channel", "x.level"]
|
||||
format: "on_nexa: %lu %u %u %u %u"
|
||||
args: ["long(x.device)", "x.group", "x.state", "x.channel", "x.level"]
|
||||
on_panasonic:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_panasonic: %u %u"
|
||||
args: ["x.address", "x.command"]
|
||||
format: "on_panasonic: %u %lu"
|
||||
args: ["x.address", "long(x.command)"]
|
||||
on_pioneer:
|
||||
then:
|
||||
- logger.log:
|
||||
@@ -107,8 +107,8 @@ remote_receiver:
|
||||
on_raw:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_raw: %u"
|
||||
args: ["x.front()"]
|
||||
format: "on_raw: %lu"
|
||||
args: ["long(x.front())"]
|
||||
on_rc5:
|
||||
then:
|
||||
- logger.log:
|
||||
@@ -132,13 +132,13 @@ remote_receiver:
|
||||
on_samsung36:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_samsung36: %u %u"
|
||||
args: ["x.address", "x.command"]
|
||||
format: "on_samsung36: %u %lu"
|
||||
args: ["x.address", "long(x.command)"]
|
||||
on_sony:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "on_sony: %u %u"
|
||||
args: ["x.data", "x.nbits"]
|
||||
format: "on_sony: %lu %u"
|
||||
args: ["long(x.data)", "x.nbits"]
|
||||
on_toshiba_ac:
|
||||
then:
|
||||
- logger.log:
|
||||
|
||||
@@ -118,6 +118,7 @@ button:
|
||||
on_press:
|
||||
remote_transmitter.transmit_aeha:
|
||||
address: 0x8008
|
||||
carrier_frequency: 36700Hz
|
||||
data:
|
||||
[
|
||||
0x00,
|
||||
|
||||
@@ -3,6 +3,7 @@ wifi:
|
||||
password: password1
|
||||
|
||||
safe_mode:
|
||||
boot_is_good_after: 2min
|
||||
num_attempts: 3
|
||||
reboot_timeout: 2min
|
||||
on_safe_mode:
|
||||
|
||||
12
tests/components/sdl/common.yaml
Normal file
12
tests/components/sdl/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
host:
|
||||
mac_address: "62:23:45:AF:B3:DD"
|
||||
|
||||
display:
|
||||
- platform: sdl
|
||||
id: sdl_display
|
||||
update_interval: 1s
|
||||
auto_clear_enabled: false
|
||||
show_test_card: true
|
||||
dimensions:
|
||||
width: 450
|
||||
height: 600
|
||||
1
tests/components/sdl/test.host.yaml
Normal file
1
tests/components/sdl/test.host.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/sntp/test.bk72xx.yaml
Normal file
1
tests/components/sntp/test.bk72xx.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/update/common.yaml
Normal file
1
tests/components/update/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
update:
|
||||
1
tests/components/update/test.esp32-ard.yaml
Normal file
1
tests/components/update/test.esp32-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/update/test.esp32-idf.yaml
Normal file
1
tests/components/update/test.esp32-idf.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/update/test.esp8266.yaml
Normal file
1
tests/components/update/test.esp8266.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/update/test.rp2040.yaml
Normal file
1
tests/components/update/test.rp2040.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/wake_on_lan/test.esp32-c3-idf.yaml
Normal file
1
tests/components/wake_on_lan/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/wake_on_lan/test.esp32-idf.yaml
Normal file
1
tests/components/wake_on_lan/test.esp32-idf.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
59
tests/components/wireguard/test.bk72xx.yaml
Normal file
59
tests/components/wireguard/test.bk72xx.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
wifi:
|
||||
ssid: "MySSID1"
|
||||
password: "password1"
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
|
||||
wireguard:
|
||||
address: 172.16.34.100
|
||||
netmask: 255.255.255.0
|
||||
# NEVER use the following keys for your vpn, they are now public!
|
||||
private_key: wPBMxtNYH3mChicrbpsRpZIasIdPq3yZuthn23FbGG8=
|
||||
peer_public_key: Hs2JfikvYU03/Kv3YoAs1hrUIPPTEkpsZKSPUljE9yc=
|
||||
peer_preshared_key: 20fjM5GRnSolGPC5SRj9ljgIUyQfruv0B0bvLl3Yt60=
|
||||
peer_endpoint: wg.server.example
|
||||
peer_persistent_keepalive: 25s
|
||||
peer_allowed_ips:
|
||||
- 172.16.34.0/24
|
||||
- 192.168.4.0/24
|
||||
|
||||
binary_sensor:
|
||||
- platform: wireguard
|
||||
status:
|
||||
name: 'WireGuard Status'
|
||||
enabled:
|
||||
name: 'WireGuard Enabled'
|
||||
|
||||
sensor:
|
||||
- platform: wireguard
|
||||
latest_handshake:
|
||||
name: 'WireGuard Latest Handshake'
|
||||
|
||||
text_sensor:
|
||||
- platform: wireguard
|
||||
address:
|
||||
name: 'WireGuard Address'
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: 'Toggle WireGuard'
|
||||
entity_category: config
|
||||
on_press:
|
||||
- if:
|
||||
condition: wireguard.enabled
|
||||
then:
|
||||
- wireguard.disable:
|
||||
else:
|
||||
- wireguard.enable:
|
||||
|
||||
- platform: template
|
||||
name: 'Log WireGuard status'
|
||||
entity_category: config
|
||||
on_press:
|
||||
- if:
|
||||
condition: wireguard.peer_online
|
||||
then:
|
||||
- logger.log: 'wireguard remote peer is online'
|
||||
else:
|
||||
- logger.log: 'wireguard remote peer is offline'
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -5,3 +5,4 @@ output:
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
||||
step_delay: 50us
|
||||
|
||||
@@ -25,31 +25,6 @@ esphome:
|
||||
then:
|
||||
- lambda: >-
|
||||
ESP_LOGV("main", "ON LOOP!");
|
||||
- http_request.get:
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
verify_ssl: false
|
||||
- http_request.post:
|
||||
url: https://esphome.io
|
||||
verify_ssl: false
|
||||
json:
|
||||
key: !lambda |-
|
||||
return id(${textname}_text).state;
|
||||
greeting: Hello World
|
||||
- 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
|
||||
build_path: build/test1
|
||||
|
||||
packages:
|
||||
@@ -84,10 +59,6 @@ network:
|
||||
mdns:
|
||||
disabled: false
|
||||
|
||||
http_request:
|
||||
useragent: esphome/device
|
||||
timeout: 10s
|
||||
|
||||
mqtt:
|
||||
broker: "192.168.178.84"
|
||||
port: 1883
|
||||
@@ -344,11 +315,6 @@ as5600:
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
dallas:
|
||||
pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO23
|
||||
|
||||
as3935_spi:
|
||||
cs_pin:
|
||||
ignore_strapping_warning: true
|
||||
@@ -743,13 +709,6 @@ sensor:
|
||||
update_interval: 15s
|
||||
iir_filter: 16x
|
||||
i2c_id: i2c_bus
|
||||
- platform: dallas
|
||||
address: 0x1C0000031EDD2A28
|
||||
name: Living Room Temperature
|
||||
resolution: 9
|
||||
- platform: dallas
|
||||
index: 1
|
||||
name: Living Room Temperature 2
|
||||
- platform: dht
|
||||
pin:
|
||||
allow_other_uses: true
|
||||
@@ -2906,6 +2865,7 @@ switch:
|
||||
turn_on_action:
|
||||
remote_transmitter.transmit_aeha:
|
||||
address: 0x8008
|
||||
carrier_frequency: 36700Hz
|
||||
data:
|
||||
[
|
||||
0x00,
|
||||
|
||||
@@ -447,26 +447,6 @@ switch:
|
||||
switches:
|
||||
- id: custom_switch
|
||||
name: Custom Switch
|
||||
on_turn_on:
|
||||
- http_request.get:
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
verify_ssl: false
|
||||
- http_request.post:
|
||||
url: https://esphome.io
|
||||
verify_ssl: false
|
||||
json:
|
||||
key: !lambda |-
|
||||
return id(custom_text_sensor).state;
|
||||
greeting: Hello World
|
||||
- http_request.send:
|
||||
method: PUT
|
||||
url: https://esphome.io
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: Some data
|
||||
verify_ssl: false
|
||||
- platform: template
|
||||
name: open_vent
|
||||
id: open_vent
|
||||
@@ -722,10 +702,6 @@ display:
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
http_request:
|
||||
useragent: esphome/device
|
||||
timeout: 10s
|
||||
|
||||
button:
|
||||
- platform: output
|
||||
id: output_button
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Tests for ESP32-C3 boards which use toolchain-riscv32-esp
|
||||
---
|
||||
wifi:
|
||||
ssid: 'ssid'
|
||||
ssid: "ssid"
|
||||
|
||||
network:
|
||||
enable_ipv6: true
|
||||
@@ -12,31 +12,12 @@ esp32:
|
||||
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
|
||||
name: test7
|
||||
|
||||
logger:
|
||||
|
||||
debug:
|
||||
|
||||
http_request:
|
||||
useragent: esphome/tagreader
|
||||
timeout: 10s
|
||||
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: adc_sensor_p4
|
||||
|
||||
Reference in New Issue
Block a user