async def METHOD_NAME(self, possible_offset: str) -> str:
    """Convert offset into boot ID if required."""
    with suppress(CoerceInvalid):
        offset = vol.Coerce(int)(possible_offset)
        try:
            return await self.sys_host.logs.get_boot_id(offset)
        except (ValueError, HostLogError) as err:
            raise APIError() from err
    return possible_offset