async def METHOD_NAME(
    self, attributes: dict[str | int, Any], manufacturer: int | None = None
) -> list:
    """Write attributes to device with internal 'attributes' validation."""
    result = await super().METHOD_NAME(attributes, manufacturer)
    interval = attributes.get(
        "detection_interval", attributes.get(DETECTION_INTERVAL)
    )
    _LOGGER.debug("detection interval: %s", interval)
    if interval is not None:
        self.endpoint.ias_zone.reset_s = int(interval)
    return result