mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 07:31:51 +00:00
Support different run duration for non-timer wakeup (#2861)
This commit is contained in:
11
tests/component_tests/deep_sleep/test_deep_sleep2.yaml
Normal file
11
tests/component_tests/deep_sleep/test_deep_sleep2.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
esphome:
|
||||
name: test
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
|
||||
deep_sleep:
|
||||
id: deepsleep
|
||||
sleep_duration: 1min
|
||||
run_duration:
|
||||
default: 10s
|
||||
gpio_wakeup_reason: 30s
|
||||
Reference in New Issue
Block a user