Standardize log tag

This commit is contained in:
Edward Firmo
2025-08-05 08:54:45 +02:00
parent 6d16d7d645
commit 1d8b4fee1a
6 changed files with 115 additions and 93 deletions

View File

@@ -29,9 +29,11 @@ api:
tone: string
then:
- lambda: |-
static const char *TAG = "api.actions.rtttl_play.standard.hw.speaker";
rtttl_speaker->stop();
if (speaker_volume->state > 0) {
ESP_LOGI("standard_speaker", "Play tone: '%s'", tone.c_str());
ESP_LOGI(TAG, "Play tone: '%s'", tone.c_str());
rtttl_speaker->play(tone.c_str());
}