def __init__(self, loop, session, uuid, host='<STR_LIT:localhost>', port=<NUM_LIT>):
self._loop = loop<EOL>self._session = session<EOL>self.url = _RESOURCE.format(host=host, port=port, uuid=uuid)<EOL>self.data = {}<EOL>self.average = self.max = self.min = self.consumption = None<EOL>self.tuples = []<EOL>
Initialize the connection to the API.