diff --git a/tests/integration/fixtures/external_components/legacy_fan_component/fan/legacy_fan.h b/tests/integration/fixtures/external_components/legacy_fan_component/fan/legacy_fan.h index 3f8937905e..e6135d60be 100644 --- a/tests/integration/fixtures/external_components/legacy_fan_component/fan/legacy_fan.h +++ b/tests/integration/fixtures/external_components/legacy_fan_component/fan/legacy_fan.h @@ -3,8 +3,7 @@ #include "esphome/components/fan/fan.h" #include "esphome/core/component.h" -namespace esphome { -namespace legacy_fan_test { +namespace esphome::legacy_fan_test { /// Test fan that uses the DEPRECATED FanTraits setters for preset modes. /// This validates backward compatibility for external components that haven't migrated. @@ -45,5 +44,4 @@ class LegacyFan : public fan::Fan, public Component { } }; -} // namespace legacy_fan_test -} // namespace esphome +} // namespace esphome::legacy_fan_test