mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Use SourceType.ROUTER
in Tractive integration (#76071)
Use SourceType.ROUTER
This commit is contained in:
parent
fe6d6b81e3
commit
320b264d03
@ -57,6 +57,8 @@ class TractiveDeviceTracker(TractiveEntity, TrackerEntity):
|
||||
"""Return the source type, eg gps or router, of the device."""
|
||||
if self._source_type == "PHONE":
|
||||
return SourceType.BLUETOOTH
|
||||
if self._source_type == "KNOWN_WIFI":
|
||||
return SourceType.ROUTER
|
||||
return SourceType.GPS
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user