Fix entity translations

This commit is contained in:
2026-07-21 14:45:24 +02:00
parent ba6a6ad044
commit 0f66b31769
10 changed files with 121 additions and 3 deletions
+1
View File
@@ -331,6 +331,7 @@ class ArkteosSensor(ArkteosEntity, SensorEntity):
def __init__(self, client: ArkteosClient, description: ArkteosSensorDescription) -> None:
super().__init__(client)
self.entity_description = description
self._attr_translation_key = description.translation_key
self._attr_unique_id = f"arkteos_zuran4_{description.key}"
latest_data = self._latest_data()
self._has_received_frame = latest_data is not None