From 70fb8cc7c46e3dd9d350a99b8a660624d0cf92ea Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 20 Feb 2026 22:48:46 -0600 Subject: [PATCH] Remove empty EntityBase_DeviceClass/EntityBase_UnitOfMeasurement shells These empty classes were only used internally by entity base classes, not exposed to external components. No need for backward compat shells. --- esphome/core/entity_base.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/esphome/core/entity_base.h b/esphome/core/entity_base.h index d85f6ee4353..70949289fd1 100644 --- a/esphome/core/entity_base.h +++ b/esphome/core/entity_base.h @@ -216,16 +216,6 @@ class EntityBase { } flags_{}; }; -// Empty shell — methods moved to EntityBase. Kept for backward compatibility. -// TODO: Remove in 2027.2.0 -class EntityBase_DeviceClass { // NOLINT(readability-identifier-naming) -}; - -// Empty shell — methods moved to EntityBase. Kept for backward compatibility. -// TODO: Remove in 2027.2.0 -class EntityBase_UnitOfMeasurement { // NOLINT(readability-identifier-naming) -}; - /// Log entity icon if set (for use in dump_config) #ifdef USE_ENTITY_ICON #define LOG_ENTITY_ICON(tag, prefix, obj) log_entity_icon(tag, prefix, obj)