1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 12:22:20 +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

@@ -109,7 +109,7 @@ static inline std::string format_version(uint8_t *buffer) {
LD2450Component::LD2450Component() {}
void LD2450Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up HLK-LD2450...");
ESP_LOGCONFIG(TAG, "Running setup");
#ifdef USE_NUMBER
if (this->presence_timeout_number_ != nullptr) {
this->pref_ = global_preferences->make_preference<float>(this->presence_timeout_number_->get_object_id_hash());