Fix fixtures: remove unnecessary build flags, use C++17 namespace style

This commit is contained in:
J. Nick Koston
2026-03-26 15:24:38 -10:00
parent 602bcd2c97
commit 991c34a4f3
2 changed files with 2 additions and 7 deletions
@@ -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
@@ -1,8 +1,5 @@
esphome:
name: legacy-climate-compat
platformio_options:
build_flags:
- "-DUSE_HOST"
host:
api: