The delay_secs variable was not initialized if discovery was active and no matching configuration block existed (i.e. override was None).
The delay_secs variable was not initialized if discovery was active and no matching configuration block existed (i.e. override was None).