From 4cdf0224baf9a18f9cdcd82d19bc4d2d36eb3c18 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 29 Jan 2026 21:48:46 -0600 Subject: [PATCH] tweak --- esphome/{core => components/time}/posix_tz.cpp | 0 esphome/{core => components/time}/posix_tz.h | 0 esphome/components/time/real_time_clock.h | 2 +- tests/components/time/posix_tz_parser.cpp | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename esphome/{core => components/time}/posix_tz.cpp (100%) rename esphome/{core => components/time}/posix_tz.h (100%) diff --git a/esphome/core/posix_tz.cpp b/esphome/components/time/posix_tz.cpp similarity index 100% rename from esphome/core/posix_tz.cpp rename to esphome/components/time/posix_tz.cpp diff --git a/esphome/core/posix_tz.h b/esphome/components/time/posix_tz.h similarity index 100% rename from esphome/core/posix_tz.h rename to esphome/components/time/posix_tz.h diff --git a/esphome/components/time/real_time_clock.h b/esphome/components/time/real_time_clock.h index 055fa7f668..0f9ec1e993 100644 --- a/esphome/components/time/real_time_clock.h +++ b/esphome/components/time/real_time_clock.h @@ -7,7 +7,7 @@ #include "esphome/core/helpers.h" #include "esphome/core/time.h" #ifdef USE_TIME_TIMEZONE -#include "esphome/core/posix_tz.h" +#include "posix_tz.h" #endif namespace esphome::time { diff --git a/tests/components/time/posix_tz_parser.cpp b/tests/components/time/posix_tz_parser.cpp index e977ca53e9..6c1fea36e5 100644 --- a/tests/components/time/posix_tz_parser.cpp +++ b/tests/components/time/posix_tz_parser.cpp @@ -5,7 +5,7 @@ #include #include #include -#include "esphome/core/posix_tz.h" +#include "esphome/components/time/posix_tz.h" namespace esphome::time::testing {