Skip to content

Commit 956dddc

Browse files
committed
Merge branch 'main' into dev
2 parents 8ef8751 + 3165715 commit 956dddc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: ${{ matrix.name }}
1212
runs-on: ubuntu-latest
1313
env:
14-
ESPHOME_VERSION: 2025.7.4
14+
ESPHOME_VERSION: 2025.9.0
1515
PLATFORMIO_LIBDEPS_DIR: ~/.platformio/libdeps
1616
strategy:
1717
fail-fast: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ I'm not so familiar with assembler and it is hard to understand and maintain, so
298298
299299
## Supported platforms
300300
301-
Tested with ESPHome version 2025.7.2, platforms:
301+
Tested with ESPHome version 2025.9.0, platforms:
302302
- [x] ESP32 (Arduino v3.1.3, ESP-IDF v5.3.2)
303303
- [x] ESP32-IDF (ESP-IDF v5.3.2)
304304

components/sound_level_meter/sound_level_meter.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ void SoundLevelMeter::dump_config() {
5959
ESP_LOGCONFIG(TAG, " Task Stack Size: %lu", this->task_stack_size_);
6060
ESP_LOGCONFIG(TAG, " Task Priority: %u", this->task_priority_);
6161
ESP_LOGCONFIG(TAG, " Task Core: %u", this->task_core_);
62-
ESP_LOGCONFIG(TAG, " High Freq: %s", YESNO(this->is_high_freq_));
6362
ESP_LOGCONFIG(TAG, " Auto Start: %s", YESNO(this->is_auto_start_));
64-
LOG_UPDATE_INTERVAL(this);
63+
if (this->update_interval_ms_ == SCHEDULER_DONT_RUN) {
64+
ESP_LOGCONFIG(TAG, " Update Interval: never");
65+
} else if (this->update_interval_ms_ < 100) {
66+
ESP_LOGCONFIG(TAG, " Update Interval: %.3fs", this->update_interval_ms_ / 1000.0f);
67+
} else {
68+
ESP_LOGCONFIG(TAG, " Update Interval: %.1fs", this->update_interval_ms_ / 1000.0f);
69+
}
6570
ESP_LOGCONFIG(TAG, "Sensors:");
6671
for (auto *s : this->sensors_)
6772
LOG_SENSOR(" ", "Sound Pressure Level", s);

0 commit comments

Comments
 (0)