'Setup the client.'

def _setup(self):

    config = {'influxdb': {'host': 'host', 'username': 'user', 'password': 'pass', 'exclude': {'entities': ['fake.blacklisted'], 'domains': ['another_fake']}}}
    assert setup_component(self.hass, influxdb.DOMAIN, config)
    self.handler_method = self.hass.bus.listen.call_args_list[0][0][1]
