def _async_backend_system_callback(self, system_event: BackendSystemEvent, **kwargs: Any) -> None:
        """Execute the callback for system based events."""
        _LOGGER.debug(
            "callback_system_event: Received system event %s for event for %s",
            system_event,
            self._instance_name,
        )

        # Handle event of new device creation in Homematic(IP) Local.
        if system_event == BackendSystemEvent.DEVICES_CREATED:
            for platform, data_points in kwargs["new_data_points"].items():
                if data_points and len(data_points) > 0:
                    async_dispatcher_send(
                        self._hass,
                        signal_new_data_point(entry_id=self._entry_id, platform=platform),
                        data_points,
                    )
            for channel_events in kwargs["new_channel_events"]:
                async_dispatcher_send(
                    self._hass,
                    signal_new_data_point(entry_id=self._entry_id, platform=DataPointCategory.EVENT),
                    channel_events,
                )
            self._async_add_virtual_remotes_to_device_registry()
        elif system_event == BackendSystemEvent.HUB_REFRESHED:
            # Handle event of new hub entity creation in Homematic(IP) Local.
            for platform, hub_data_points in kwargs["new_hub_data_points"].items():
                if hub_data_points and len(hub_data_points) > 0:
                    async_dispatcher_send(
                        self._hass,
                        signal_new_data_point(entry_id=self._entry_id, platform=platform),
                        hub_data_points,
                    )
            return
        return
Execute the callback for system based events.
custom_components/homematicip_local/control_unit.py