async def METHOD_NAME(
    self,
    mode: str,
    temp: float | None = None,
    end_time: int | None = None,
) -> None:
    """Set room temperature set point (NRV, NATherm1)."""
    post_params = {
        "home_id": self.home.entity_id,
        "room_id": self.entity_id,
        "mode": mode,
    }
    # Temp and endtime should only be sent when mode=='manual', but netatmo api can
    # handle that even when mode == 'home' and these settings don't make sense
    if temp is not None:
        post_params["temp"] = str(temp)
    if end_time is not None:
        post_params["endtime"] = str(end_time)
    LOG.debug(
        "Setting room (%s) temperature set point to %s until %s",
        self.entity_id,
        temp,
        end_time,
    )
    await self.home.auth.async_post_api_request(
        endpoint=SETROOMTHERMPOINT_ENDPOINT,
        params=post_params,
    )