mirror of
https://github.com/esphome/esphome.git
synced 2026-09-25 14:00:25 +00:00
Fix fixtures: remove unnecessary build flags, use C++17 namespace style
This commit is contained in:
+2
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user