def location(self):
        """Return lat and lng tuple."""
        location = self._device_json.get(CONST.LOCATION, {})

        return (location.get(CONST.LOCATION_LAT, 0),
                location.get(CONST.LOCATION_LNG, 0))
def location ( self ) : location = self . _device_json . get ( CONST . LOCATION , { } ) return ( location . get ( CONST . LOCATION_LAT , 0 ) , location . get ( CONST . LOCATION_LNG , 0 ) )
Return lat and lng tuple.