Module homey.manager.geolocation
Classes
class ManagerGeolocation-
Manages the location information of the Homey. You can access this manager through the Homey instance as
self.homey.geolocation.Ancestors
- Manager
- SimpleClass
- EventEmitter
- typing.Generic
- abc.ABC
Methods
def get_latitude(self) ‑> float | None-
Get the Homey's physical location's latitude.
Requires the
homey:manager:geolocationpermission. For more information about permissions read the Permissions tutorial. def get_longitude(self) ‑> float | None-
Get the Homey's physical location's longitude.
Requires the
homey:manager:geolocationpermission. For more information about permissions read the Permissions tutorial. def get_accuracy(self) ‑> float | None-
Get the Homey's physical location's accuracy in meters.
Requires the
homey:manager:geolocationpermission. For more information about permissions read the Permissions tutorial. def get_mode(self) ‑> Literal['auto', 'manual'] | None-
Get the Homey's location mode.
Inherited members