diff --git a/esphome/components/ld2450/button/factory_reset_button.h b/esphome/components/ld2450/button/factory_reset_button.h index 392fc67ffd..83ad2ffd8c 100644 --- a/esphome/components/ld2450/button/factory_reset_button.h +++ b/esphome/components/ld2450/button/factory_reset_button.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class FactoryResetButton : public button::Button, public Parented { +class FactoryResetButton final : public button::Button, public Parented { public: FactoryResetButton() = default; diff --git a/esphome/components/ld2450/button/restart_button.h b/esphome/components/ld2450/button/restart_button.h index 9219011f8b..9a5c912a43 100644 --- a/esphome/components/ld2450/button/restart_button.h +++ b/esphome/components/ld2450/button/restart_button.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class RestartButton : public button::Button, public Parented { +class RestartButton final : public button::Button, public Parented { public: RestartButton() = default; diff --git a/esphome/components/ld2450/ld2450.h b/esphome/components/ld2450/ld2450.h index 10f9bb874a..48750e95e3 100644 --- a/esphome/components/ld2450/ld2450.h +++ b/esphome/components/ld2450/ld2450.h @@ -75,7 +75,7 @@ struct ZoneOfNumbers { }; #endif -class LD2450Component : public Component, public uart::UARTDevice { +class LD2450Component final : public Component, public uart::UARTDevice { #ifdef USE_BINARY_SENSOR SUB_BINARY_SENSOR(moving_target) SUB_BINARY_SENSOR(still_target) diff --git a/esphome/components/ld2450/number/presence_timeout_number.h b/esphome/components/ld2450/number/presence_timeout_number.h index 09c8afca55..e58be1b8ee 100644 --- a/esphome/components/ld2450/number/presence_timeout_number.h +++ b/esphome/components/ld2450/number/presence_timeout_number.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class PresenceTimeoutNumber : public number::Number, public Parented { +class PresenceTimeoutNumber final : public number::Number, public Parented { public: PresenceTimeoutNumber() = default; diff --git a/esphome/components/ld2450/number/zone_coordinate_number.h b/esphome/components/ld2450/number/zone_coordinate_number.h index f5a389d712..65ec7f91c4 100644 --- a/esphome/components/ld2450/number/zone_coordinate_number.h +++ b/esphome/components/ld2450/number/zone_coordinate_number.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class ZoneCoordinateNumber : public number::Number, public Parented { +class ZoneCoordinateNumber final : public number::Number, public Parented { public: ZoneCoordinateNumber(uint8_t zone); diff --git a/esphome/components/ld2450/select/baud_rate_select.h b/esphome/components/ld2450/select/baud_rate_select.h index cb53118170..abaed25d01 100644 --- a/esphome/components/ld2450/select/baud_rate_select.h +++ b/esphome/components/ld2450/select/baud_rate_select.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class BaudRateSelect : public select::Select, public Parented { +class BaudRateSelect final : public select::Select, public Parented { public: BaudRateSelect() = default; diff --git a/esphome/components/ld2450/select/zone_type_select.h b/esphome/components/ld2450/select/zone_type_select.h index 566346eb48..b145899a29 100644 --- a/esphome/components/ld2450/select/zone_type_select.h +++ b/esphome/components/ld2450/select/zone_type_select.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class ZoneTypeSelect : public select::Select, public Parented { +class ZoneTypeSelect final : public select::Select, public Parented { public: ZoneTypeSelect() = default; diff --git a/esphome/components/ld2450/switch/bluetooth_switch.h b/esphome/components/ld2450/switch/bluetooth_switch.h index 3d48a89b57..af8707a546 100644 --- a/esphome/components/ld2450/switch/bluetooth_switch.h +++ b/esphome/components/ld2450/switch/bluetooth_switch.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class BluetoothSwitch : public switch_::Switch, public Parented { +class BluetoothSwitch final : public switch_::Switch, public Parented { public: BluetoothSwitch() = default; diff --git a/esphome/components/ld2450/switch/multi_target_switch.h b/esphome/components/ld2450/switch/multi_target_switch.h index 739f308cce..d484fc2364 100644 --- a/esphome/components/ld2450/switch/multi_target_switch.h +++ b/esphome/components/ld2450/switch/multi_target_switch.h @@ -5,7 +5,7 @@ namespace esphome::ld2450 { -class MultiTargetSwitch : public switch_::Switch, public Parented { +class MultiTargetSwitch final : public switch_::Switch, public Parented { public: MultiTargetSwitch() = default;