1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-08 04:43:46 +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

@@ -63,7 +63,7 @@ static float get_ps_gain_coeff(PsGain gain) {
}
void LTRAlsPsComponent::setup() {
ESP_LOGCONFIG(TAG, "Setting up LTR-303/329/55x/659");
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; });
}