Add clarifying comment about unit of elevation (#88489)

* Add clarifying comment about unit of elevation

* Make it a docstring
pull/88605/head
Erik Montnemery 2023-02-22 15:06:43 +01:00 committed by GitHub
parent 5bffbafae4
commit 594b7b7e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1817,7 +1817,10 @@ class Config:
self.latitude: float = 0 self.latitude: float = 0
self.longitude: float = 0 self.longitude: float = 0
self.elevation: int = 0 self.elevation: int = 0
"""Elevation (always in meters regardless of the unit system)."""
self.location_name: str = "Home" self.location_name: str = "Home"
self.time_zone: str = "UTC" self.time_zone: str = "UTC"
self.units: UnitSystem = METRIC_SYSTEM self.units: UnitSystem = METRIC_SYSTEM