From 55cf0adb185ee041a829ddcff3896065a585105b Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Tue, 11 Nov 2025 15:38:19 +0100 Subject: [PATCH] [nrf52,pcf8563] fix build error --- esphome/components/pcf8563/pcf8563.cpp | 2 ++ tests/components/pcf8563/test.nrf52-adafruit.yaml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 tests/components/pcf8563/test.nrf52-adafruit.yaml diff --git a/esphome/components/pcf8563/pcf8563.cpp b/esphome/components/pcf8563/pcf8563.cpp index 27020378a6..d6f37f44e6 100644 --- a/esphome/components/pcf8563/pcf8563.cpp +++ b/esphome/components/pcf8563/pcf8563.cpp @@ -23,7 +23,9 @@ void PCF8563Component::dump_config() { if (this->is_failed()) { ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL); } +#ifndef USE_ZEPHYR ESP_LOGCONFIG(TAG, " Timezone: '%s'", this->timezone_.c_str()); +#endif } float PCF8563Component::get_setup_priority() const { return setup_priority::DATA; } diff --git a/tests/components/pcf8563/test.nrf52-adafruit.yaml b/tests/components/pcf8563/test.nrf52-adafruit.yaml new file mode 100644 index 0000000000..2a0de6241c --- /dev/null +++ b/tests/components/pcf8563/test.nrf52-adafruit.yaml @@ -0,0 +1,4 @@ +packages: + i2c: !include ../../test_build_components/common/i2c/nrf52.yaml + +<<: !include common.yaml