@callback
def add_to_platform_abort(self) -> None:
    'Abort adding an entity to a platform.'
    self._platform_state = EntityPlatformState.NOT_ADDED
    self._call_on_remove_callbacks()
    self.hass = None
    self.platform = None
    self.parallel_updates = None
Abort adding an entity to a platform.
@callback
def add_to_platform_abort(self) -> None:
    
    self._platform_state = EntityPlatformState.NOT_ADDED
    self._call_on_remove_callbacks()
    self.hass = None
    self.platform = None
    self.parallel_updates = None