def __init__(self, hass, config):
        public_key = config[DOMAIN].get(CONF_PUBLIC_KEY)
        private_key = config[DOMAIN].get(CONF_PRIVATE_KEY)
        token = config[DOMAIN].get(CONF_TOKEN)
        token_secret = config[DOMAIN].get(CONF_TOKEN_SECRET)

        from tellive.client import LiveClient

        self._switches = {}
        self._sensors = {}

        self._hass = hass
        self._config = config

        self._client = LiveClient(public_key=public_key,
                                  private_key=private_key,
                                  access_token=token,
                                  access_secret=token_secret)
Support function for insert. Should be called within a transaction
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/tellduslive.py/TelldusLiveData.__init__--crossover with--dataset/ETHPy150Open agoragames/kairos/kairos/sql_backend.py/SqlCount._update_data