From 991c34a4f3168d7306ac17bd9c733470f926d35e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 26 Mar 2026 15:24:38 -1000 Subject: [PATCH] Fix fixtures: remove unnecessary build flags, use C++17 namespace style --- .../legacy_climate_component/climate/legacy_climate.h | 6 ++---- tests/integration/fixtures/legacy_climate_compat.yaml | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/integration/fixtures/external_components/legacy_climate_component/climate/legacy_climate.h b/tests/integration/fixtures/external_components/legacy_climate_component/climate/legacy_climate.h index b2fea53dd6..67b83e5137 100644 --- a/tests/integration/fixtures/external_components/legacy_climate_component/climate/legacy_climate.h +++ b/tests/integration/fixtures/external_components/legacy_climate_component/climate/legacy_climate.h @@ -3,8 +3,7 @@ #include "esphome/components/climate/climate.h" #include "esphome/core/component.h" -namespace esphome { -namespace legacy_climate_test { +namespace esphome::legacy_climate_test { /// Test climate that uses the DEPRECATED ClimateTraits setters for custom modes. /// This validates backward compatibility for external components that haven't migrated. @@ -55,5 +54,4 @@ class LegacyClimate : public climate::Climate, public Component { } }; -} // namespace legacy_climate_test -} // namespace esphome +} // namespace esphome::legacy_climate_test diff --git a/tests/integration/fixtures/legacy_climate_compat.yaml b/tests/integration/fixtures/legacy_climate_compat.yaml index 13f88aab02..112e50a468 100644 --- a/tests/integration/fixtures/legacy_climate_compat.yaml +++ b/tests/integration/fixtures/legacy_climate_compat.yaml @@ -1,8 +1,5 @@ esphome: name: legacy-climate-compat - platformio_options: - build_flags: - - "-DUSE_HOST" host: api: