def _get_hmip_local_platforms() -> tuple[Platform, ...]:
    """Return relevant Homematic(IP) Local platforms."""
    return tuple(
        Platform(pf)
        for pf in list(Platform)
        if pf in [category.value for category in CATEGORIES if category not in BLOCKED_CATEGORIES]
    )
Return relevant Homematic(IP) Local platforms.
custom_components/homematicip_local/const.py