1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 10:42:21 +01:00

Streamline setup() logging (n, o, p, q, r) (#8929)

This commit is contained in:
Keith Burzinski
2025-05-28 14:23:53 -05:00
committed by GitHub
parent d9a9e0aea3
commit d99e3237f9
28 changed files with 31 additions and 34 deletions

View File

@@ -156,7 +156,7 @@ pulse_counter_t HwPulseCounterStorage::read_raw_value() {
#endif // HAS_PCNT
void PulseCounterSensor::setup() {
ESP_LOGCONFIG(TAG, "Setting up pulse counter '%s'...", this->name_.c_str());
ESP_LOGCONFIG(TAG, "Running setup for '%s'", this->name_.c_str());
if (!this->storage_.pulse_counter_setup(this->pin_)) {
this->mark_failed();
return;