Drop unused property from zha (#77897)

pull/77609/head
epenet 2022-09-06 20:19:33 +02:00 committed by GitHub
parent 87ab14d758
commit 6864f43986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -54,7 +54,6 @@ class BaseZhaEntity(LogMixin, entity.Entity):
def __init__(self, unique_id: str, zha_device: ZHADevice, **kwargs: Any) -> None:
"""Init ZHA entity."""
self._name: str = ""
self._force_update: bool = False
self._unique_id: str = unique_id
if self.unique_id_suffix:
self._unique_id += f"-{self.unique_id_suffix}"
@ -84,11 +83,6 @@ class BaseZhaEntity(LogMixin, entity.Entity):
"""Return device specific state attributes."""
return self._extra_state_attributes
@property
def force_update(self) -> bool:
"""Force update this entity."""
return self._force_update
@property
def device_info(self) -> entity.DeviceInfo:
"""Return a device description for device registry."""