mirror of
https://github.com/esphome/esphome.git
synced 2025-08-09 11:57:46 +00:00
fixes
This commit is contained in:
parent
ad2d48e9b7
commit
a963f97520
9
tests/components/web_server/test_no_ota.esp32-idf.yaml
Normal file
9
tests/components/web_server/test_no_ota.esp32-idf.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
packages:
|
||||||
|
device_base: !include common.yaml
|
||||||
|
|
||||||
|
# No OTA component defined for this test
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 8080
|
||||||
|
version: 2
|
||||||
|
ota: false
|
12
tests/components/web_server/test_ota.esp32-idf.yaml
Normal file
12
tests/components/web_server/test_ota.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
packages:
|
||||||
|
device_base: !include common.yaml
|
||||||
|
|
||||||
|
# Enable OTA for this test
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
safe_mode: true
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 8080
|
||||||
|
version: 2
|
||||||
|
ota: true
|
12
tests/components/web_server/test_ota_disabled.esp32-idf.yaml
Normal file
12
tests/components/web_server/test_ota_disabled.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
packages:
|
||||||
|
device_base: !include common.yaml
|
||||||
|
|
||||||
|
# OTA is configured but web_server OTA is disabled
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
safe_mode: true
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 8080
|
||||||
|
version: 2
|
||||||
|
ota: false
|
Loading…
x
Reference in New Issue
Block a user