Skip to content

Commit

Permalink
Fix human readable huawei_lte sensor names (#104672)
Browse files Browse the repository at this point in the history
Regression from 7c85d84, #98631
  • Loading branch information
scop committed Nov 28, 2023
1 parent 2c196ba commit 21d842c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/huawei_lte/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,6 @@ class HuaweiLteSensor(HuaweiLteBaseEntityWithDevice, SensorEntity):
_unit: str | None = field(default=None, init=False)
_last_reset: datetime | None = field(default=None, init=False)

def __post_init__(self) -> None:
"""Initialize remaining attributes."""
self._attr_name = self.entity_description.name or self.item

async def async_added_to_hass(self) -> None:
"""Subscribe to needed data on add."""
await super().async_added_to_hass()
Expand Down

0 comments on commit 21d842c

Please sign in to comment.