fix: the missing of @property

This commit is contained in:
LiShuzhen 2025-06-04 15:16:16 +08:00
parent 7f456f111f
commit b9b1354336

View File

@ -113,6 +113,7 @@ class DeviceTracker(MIoTServiceEntity, TrackerEntity):
return None if self._prop_latitude is None else self.get_prop_value(
prop=self._prop_latitude)
@property
def longitude(self) -> Optional[float]:
"""The longitude coordinate of the device."""
return None if self._prop_longitude is None else self.get_prop_value(