Move tractive attribute to entity class (#96247)
Clean up tractive entities
This commit is contained in:
parent
d973e43b90
commit
aec0694823
5 changed files with 2 additions and 6 deletions
|
@ -11,6 +11,8 @@ from .const import DOMAIN
|
|||
class TractiveEntity(Entity):
|
||||
"""Tractive entity class."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
|
||||
def __init__(
|
||||
self, user_id: str, trackable: dict[str, Any], tracker_details: dict[str, Any]
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue