def get_new_hub_data_points(
        self,
        data_point_type: type[_DATA_POINT_T],
    ) -> tuple[_DATA_POINT_T, ...]:
        """Return all data points by type."""
        return cast(
            tuple[_DATA_POINT_T, ...],
            self.central.get_hub_data_points(
                category=data_point_type.default_category(),
                registered=False,
            ),
        )
Return all data points by type.
custom_components/homematicip_local/control_unit.py