mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
fix: correct log message placement in read_timers_to_log function for better clarity
This commit is contained in:
@@ -313,10 +313,10 @@ void DynamicLampComponent::read_timers_to_log() {
|
|||||||
}
|
}
|
||||||
lamp_names_str += this->active_lamps_[j].name;
|
lamp_names_str += this->active_lamps_[j].name;
|
||||||
}
|
}
|
||||||
ESP_LOGV(TAG, "Timer found for lamps [%s]: [ active: %d, action: %d, hour: %d, minute: %d, monday: %d, tuesday: %d, wednesday: %d, thursday: %d, friday: %d, saturday: %d, sunday: %d ]",
|
|
||||||
lamp_names_str.c_str(), timer.active, timer.action, timer.hour, timer.minute, timer.monday, timer.tuesday,
|
|
||||||
timer.wednesday, timer.thursday, timer.friday, timer.saturday, timer.sunday);
|
|
||||||
}
|
}
|
||||||
|
ESP_LOGV(TAG, "Timer found for lamps [%s]: [ active: %d, action: %d, hour: %d, minute: %d, monday: %d, tuesday: %d, wednesday: %d, thursday: %d, friday: %d, saturday: %d, sunday: %d ]",
|
||||||
|
lamp_names_str.c_str(), timer.active, timer.action, timer.hour, timer.minute, timer.monday, timer.tuesday,
|
||||||
|
timer.wednesday, timer.thursday, timer.friday, timer.saturday, timer.sunday);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DynamicLampComponent::write_state_(uint8_t lamp_number, float state) {
|
bool DynamicLampComponent::write_state_(uint8_t lamp_number, float state) {
|
||||||
|
|||||||
Reference in New Issue
Block a user