async def _async_service_get_link_paramset(hass: HomeAssistant, service: ServiceCall) -> ServiceResponse:
    """Service to call the getParamset method for links on a Homematic(IP) Local connection."""
    sender_channel_address = service.data[CONF_SENDER_CHANNEL_ADDRESS]
    receiver_channel_address = service.data[CONF_RECEIVER_CHANNEL_ADDRESS]

    if hm_device := _async_get_hm_device_by_service_data(hass=hass, service=service):
        try:
            return dict(
                await hm_device.client.get_paramset(
                    address=receiver_channel_address,
                    paramset_key=sender_channel_address,
                )
            )
        except BaseHomematicException as ex:
            raise HomeAssistantError(ex) from ex
    return None
Service to call the getParamset method for links on a Homematic(IP) Local connection.
custom_components/homematicip_local/services.py