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:
@@ -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; });
|
||||
}
|
||||
|
Reference in New Issue
Block a user