From 7a80bfae50c42681c10fc77785abccde8b3e09c8 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 6 Dec 2022 14:05:18 +1300 Subject: [PATCH] Small fix with ifdef in dallas --- esphome/components/dallas/dallas_component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/dallas/dallas_component.cpp b/esphome/components/dallas/dallas_component.cpp index 302422d6c7..efa6133717 100644 --- a/esphome/components/dallas/dallas_component.cpp +++ b/esphome/components/dallas/dallas_component.cpp @@ -251,7 +251,7 @@ bool DallasTemperatureSensor::check_scratch_pad() { config_validity = ((this->scratch_pad_[4] & 0x10) == 0x10); } -#ifdef ESPHOME_LOG_LEVEL_VERY_VERBOSE +#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE ESP_LOGVV(TAG, "Scratch pad: %02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X (%02X)", this->scratch_pad_[0], this->scratch_pad_[1], this->scratch_pad_[2], this->scratch_pad_[3], this->scratch_pad_[4], this->scratch_pad_[5], this->scratch_pad_[6], this->scratch_pad_[7], this->scratch_pad_[8],