@callback
def _async_schedule_add_entities(self, new_entities, update_before_add=False):
    'Schedule adding entities for a single platform async.'
    self._tasks.append(self.hass.async_add_job(self.async_add_entities(new_entities, update_before_add=update_before_add)))
Schedule adding entities for a single platform async.
@callback
def _async_schedule_add_entities(self, new_entities, update_before_add=False):
    
    self._tasks.append(self.hass.async_add_job(self.async_add_entities(new_entities, update_before_add=update_before_add)))