From 8188caaff19cd14ff3f0451402e693d20c700bc5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 24 Jan 2026 08:26:47 -1000 Subject: [PATCH] tweak --- esphome/core/entity_base.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/esphome/core/entity_base.h b/esphome/core/entity_base.h index 503a6563f8..0b75b25817 100644 --- a/esphome/core/entity_base.h +++ b/esphome/core/entity_base.h @@ -139,9 +139,12 @@ class EntityBase { * from previous versions, so existing single-device configurations will continue to work. * * @return uint32_t The unique hash for preferences, including device_id if available. - * @deprecated Use make_entity_preference() instead for automatic migration support. + * @deprecated Use make_entity_preference() instead, or preferences won't be migrated. + * See https://github.com/esphome/backlog/issues/85 */ - ESPDEPRECATED("Use make_entity_preference() instead. Will be removed in 2027.1.0.", "2026.7.0") + ESPDEPRECATED("Use make_entity_preference() instead, or preferences won't be migrated. " + "See https://github.com/esphome/backlog/issues/85. Will be removed in 2027.1.0.", + "2026.7.0") uint32_t get_preference_hash() { #ifdef USE_DEVICES // Combine object_id_hash with device_id to ensure uniqueness across devices