1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-22 03:33:52 +01:00

Streamline setup() logging (k, l, m) (#8928)

This commit is contained in:
Keith Burzinski
2025-05-28 13:57:58 -05:00
committed by GitHub
parent 0ce03ae26b
commit d9a9e0aea3
51 changed files with 52 additions and 56 deletions

View File

@@ -74,7 +74,7 @@ static float get_ps_gain_coeff(PsGain501 gain) {
}
void LTRAlsPs501Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up LTR-501/301/558");
ESP_LOGCONFIG(TAG, "Running setup");
// As per datasheet we need to wait at least 100ms after power on to get ALS chip responsive
this->set_timeout(100, [this]() { this->state_ = State::DELAYED_SETUP; });
}