mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user