'Initialize the GPSD sensor.'

def __init__(self, hass, name, host, port):

    from gps3.agps3threaded import AGPS3mechanism
    self.hass = hass
    self._name = name
    self._host = host
    self._port = port
    self.agps_thread = AGPS3mechanism()
    self.agps_thread.stream_data(host=self._host, port=self._port)
    self.agps_thread.run_thread()
