Fix device tracker TrackerEntity defaults (#32459)
This commit is contained in:
parent
af76a336af
commit
7678d66464
10 changed files with 26 additions and 42 deletions
|
@ -61,11 +61,6 @@ class LocativeEntity(TrackerEntity):
|
|||
"""Return the name of the device."""
|
||||
return self._name
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""No polling needed."""
|
||||
return False
|
||||
|
||||
@property
|
||||
def source_type(self):
|
||||
"""Return the source type, eg gps or router, of the device."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue