Skip to content

Commit

Permalink
fix local dev in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuen Lee committed Dec 26, 2023
1 parent 3d35541 commit 3bec2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/polestar_api/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ def __init__(self,
#self._attr_name = f"{description.name}"
self._attr_unique_id = f"polestar_{unique_id}-{description.key}"
self.description = description
self.translation_key = f"polestar_{description.key}"
self.has_entity_name = True
self.attr_translation_key = f"polestar_{description.key}"
self.attr_has_entity_name = True

self.entity_description = description
if description.state_class is not None:
Expand Down

0 comments on commit 3bec2e5

Please sign in to comment.