mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add translation_key property to entites (#82701)
* Add translation_key attribute to entity state * Update accuweather test * Index entity translation keys by platform * Store translation key in entity registry
This commit is contained in:
@@ -616,6 +616,7 @@ class EntityPlatform:
|
||||
original_name=entity.name,
|
||||
suggested_object_id=suggested_object_id,
|
||||
supported_features=entity.supported_features,
|
||||
translation_key=entity.translation_key,
|
||||
unit_of_measurement=entity.unit_of_measurement,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user