'Callback when entity is added to hass.'

@asyncio.coroutine
def async_added_to_hass(self):

    if (NUKI_DATA not in self.hass.data):
        self.hass.data[NUKI_DATA] = {}
    if (DOMAIN not in self.hass.data[NUKI_DATA]):
        self.hass.data[NUKI_DATA][DOMAIN] = []
    self.hass.data[NUKI_DATA][DOMAIN].append(self)
