def add_service(self, zeroconf, service_type, name):
self.lock.acquire()<EOL>try:<EOL><INDENT>self._internal_add(zeroconf, service_type, name)<EOL><DEDENT>finally:<EOL><INDENT>self.lock.release()<EOL><DEDENT>
Handle callback from zeroconf when a service has been discovered.