Deep Sleep documentation question

From the documentation Deep Sleep Component — ESPHome

Configuration variables:
run_duration (Optional, Time): The time duration the node should be active, i.e. run code.
sleep_duration (Optional, Time): The time duration to stay in deep sleep mode.

Is there a default value?
What happens if I specify neither optional parameter?

My experiments on an ESP8266 are inconclusive.

Not sure it is any use, but ESPHome: /opt/build/esphome/esphome/components/deep_sleep/deep_sleep_component.cpp Source File

I don’t think there are defaults.
Without “run_duration”, the ESP will stay awake until the next deep sleep is triggered.
Without “sleep_duration”, the ESP will stay asleep until awoken by some other event / interrupt.

1 Like